Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
I ran this command:
$ sudo certbot-auto certonly --dry-run --nginx --no-self-upgrade --redirect -d stage.api.usermanagement.tgmgroup.net
It produced this output:
root@TGMW-WEB02:/etc/nginx/sites-enabled# certbot-auto certonly --dry-run --nginx --no-self-upgrade --redirect -d stage.api.usermanagement.tgmgroup.net
My web server is (include version):
nginx version: nginx/1.4.6 (Ubuntu)
The operating system my web server runs on is (include version):
ubuntu 14.04
My hosting provider, if applicable, is:
n/a
I can login to a root shell on my machine (yes or no, or I don’t know):
yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running nginx -c /etc/nginx/nginx.conf -t.
nginx: [emerg] SSL_CTX_load_verify_locations("/etc/letsencrypt/live/stage.tgmgroup.net/chain.p
em") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(’/etc/le
tsencrypt/live/stage.tgmgroup.net/chain.pem’,‘r’) error:2006D080:BIO routines:BIO_new_file:no
such file error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib)
nginx: configuration file /etc/nginx/nginx.conf test failed
Could not choose appropriate plugin: The nginx plugin is not working; there may be problems wi
th your existing configuration.
The error was: MisconfigurationError(‘Error while running nginx -c /etc/nginx/nginx.conf -t.\n
\nnginx: [emerg] SSL_CTX_load_verify_locations("/etc/letsencrypt/live/stage.tgmgroup.net/chain
.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(’/etc
/letsencrypt/live/stage.tgmgroup.net/chain.pem’,‘r’) error:2006D080:BIO routines:BIO_new_fi
le:no such file error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib)\n
nginx: configuration file /etc/nginx/nginx.conf test failed\n’,)
The nginx plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError(‘Error while running nginx -c /etc/nginx/nginx.conf -t.\n
\nnginx: [emerg] SSL_CTX_load_verify_locations("/etc/letsencrypt/live/stage.tgmgroup.net/chain
.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(’/etc
/letsencrypt/live/stage.tgmgroup.net/chain.pem’,‘r’) error:2006D080:BIO routines:BIO_new_fi
le:no such file error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib)\n
nginx: configuration file /etc/nginx/nginx.conf test failed\n’,)