Hi,
On:
https://letsencrypt.org/howitworks/
They are saying:
“To renew a certificate, simply run letsencrypt again providing the same values when prompted. Let’s Encrypt is working hard to fully automate this process and we apologize for the inconvenience until this functionality is ready.”
But on:
https://letsencrypt.readthedocs.org/en/latest/using.html#renewal1
There they are already giving some more options, but totally not with a clear explanation for newbies
.
The “tutorial” i followed is:
https://raymii.org/s/articles/Lets_Encrypt_Directadmin.html
I copy / paste the content of the certificate files in Directadmin. But in the “tutorial” they are saying:
Installing the certificates -> “As we can see they symlinked the files there. If you configure your own webserver manually, you can give these files as the location in your apace or nginx config. When you renew the certificate later on, you don’t have to update the webserver config, just a reload/restart.”
So for easy renawel i think i have to do that, right?
With Directadmin i can change “Custom HTTPD Configurations” for a specific domain. For example i can change:
SSLCertificateFile /usr/local/directadmin/data/users/MYUSERNAME/domains/MYDOMAIN.nl.cert
SSLCertificateKeyFile /usr/local/directadmin/data/users/MYUSERNAME/domains/MYDOMAIN.nl.key
SSLCACertificateFile /usr/local/directadmin/data/users/MYUSERNAME/domains/MYDOMAIN.nl.cacert
But to what i have to change it? Letsencrypt is makeing 4 files: privkey.pem, fullchain.pem, chain.pem, cert.pem, but there are only 3 files: MYDOMAIN.nl.cert, MYDOMAIN.nl.key, MYDOMAIN.nl.cacert
And what else i have to do to arrange that the certificates will renew automatically? Are there somewhere some examples of cronjobs or something like that? I am familiar with PHP, but not that much with server side things like Letsencrypt.