If you are going to add new domain into your server confgiration, perfrom following steps
- Create some test certificate, which can be either self-signed or signed by your private CA. Name certificate and its private key as these scripts expect
domain.crt
anddomain.key
respectively
- Configure your server to use this certificate. Test the configuration.
- Configure your server to answer http requests on 80 port on your domain and serve files from
~acme/public_html
asdomain/.well-known/acme-challenge/filename
- Add line for this domain into
/etc/acme-certs
- Invoke
create_csr
script with domain in the command line - Wait until cron will invoke two other scripts or invoke them manually. Don't forget that
request_crt
should run as user acme, not as root.