With some of my certificates expiring soon, I decided to give it a go and leverage Let’s Encrypt API.
The result is the Perl client which is self-sufficient (so there is no need for sudo, using openssl command line, etc) and hopefully easy to use even for a non-technical person who never wrote a line of code. The client comes with a library and it can be easily extended with plugins to handle current (and possibly future) challenges.
Client + Library on CPAN - https://metacpan.org/pod/Crypt::LE
More details - https://do-know.com/guides/blog-Get-free-SSL-Certificates-with-Perl.html
Installation with CPANminus:
After installation just try something like this:
le.pl --key account.key --csr domain.csr --csr-key domain.key --crt domain.crt --domains “www.domain.ext,domain.ext” --generate-missing
That will generate an account key, CSR and do the rest. NB: Without –live everything runs against the staging server. The command line above is safe to-run (once generated files are in place, they will be loaded next time).