Close to expiry, default to renewal
Close to expiry, default to renewal

- Also move the identical-cert-names case into its own function

VladimirTyrin/letsencrypt,thanatos/lets-encrypt-preview,jsha/letsencrypt,bsmr-misc-forks/letsencrypt,kuba/letsencrypt,DavidGarciaCat/letsencrypt,jtl999/certbot,brentdax/letsencrypt,wteiken/letsencrypt,lmcro/letsencrypt,TheBoegl/letsencrypt,bsmr-misc-forks/letsencrypt,VladimirTyrin/letsencrypt,martindale/letsencrypt,mitnk/letsencrypt,martindale/letsencrypt,dietsche/letsencrypt,twstrike/le_for_patching,DavidGarciaCat/letsencrypt,stweil/letsencrypt,stweil/letsencrypt,mitnk/letsencrypt,wteiken/letsencrypt,brentdax/letsencrypt,lmcro/letsencrypt,twstrike/le_for_patching,dietsche/letsencrypt,xgin/letsencrypt,goofwear/letsencrypt,kuba/letsencrypt,goofwear/letsencrypt,jsha/letsencrypt,letsencrypt/letsencrypt,xgin/letsencrypt,letsencrypt/letsencrypt,thanatos/lets-encrypt-preview,jtl999/certbot,TheBoegl/letsencrypt