Every time I try to register account I get a fake cert from the staging server. Please help me.
I ran this command:
sh acme.sh --debug --force --register-account --use-wget --ca-path /opt/etc/ssl/certs
It produced this output:
[Mon Nov 18 13:09:31 MST 2019] Lets find script dir.
[Mon Nov 18 13:09:31 MST 2019] SCRIPT=‘acme.sh’
[Mon Nov 18 13:09:31 MST 2019] _script=’/tmp/mnt/ew/entware/etc/acme/acme.sh’
[Mon Nov 18 13:09:31 MST 2019] _script_home=’/tmp/mnt/ew/entware/etc/acme’
[Mon Nov 18 13:09:31 MST 2019] Using config home:/opt/etc/acme
v2.8.2
[Mon Nov 18 13:09:31 MST 2019] Using config home:/opt/etc/acme
[Mon Nov 18 13:09:31 MST 2019] ACME_DIRECTORY=‘https://acme-v02.api.letsencrypt.org/directory’
[Mon Nov 18 13:09:32 MST 2019] Using config home:/opt/etc/acme
[Mon Nov 18 13:09:32 MST 2019] ACME_DIRECTORY=‘https://acme-v02.api.letsencrypt.org/directory’
[Mon Nov 18 13:09:32 MST 2019] _init api for server: https://acme-v02.api.letsencrypt.org/directory
[Mon Nov 18 13:09:32 MST 2019] RSA key
[Mon Nov 18 13:09:33 MST 2019] Registering account
[Mon Nov 18 13:09:33 MST 2019] url=‘https://acme-staging-v02.api.letsencrypt.org/acme/new-acct’
[Mon Nov 18 13:09:33 MST 2019] payload=’{“termsOfServiceAgreed”: true}’
[Mon Nov 18 13:09:34 MST 2019] HEAD
[Mon Nov 18 13:09:34 MST 2019] _post_url=‘https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce’
[Mon Nov 18 13:09:35 MST 2019] _WGET='wget -q --ca-directory=/opt/etc/ssl/certs --content-on-error ’
[Mon Nov 18 13:09:35 MST 2019] No -i support in sed
[Mon Nov 18 13:09:36 MST 2019] _ret=‘0’
[Mon Nov 18 13:09:36 MST 2019] POST
[Mon Nov 18 13:09:36 MST 2019] _post_url=‘https://acme-staging-v02.api.letsencrypt.org/acme/new-acct’
[Mon Nov 18 13:09:36 MST 2019] _WGET='wget -q --ca-directory=/opt/etc/ssl/certs --content-on-error ’
[Mon Nov 18 13:09:37 MST 2019] No -i support in sed
[Mon Nov 18 13:09:37 MST 2019] _ret=‘0’
[Mon Nov 18 13:09:37 MST 2019] code=‘200’
[Mon Nov 18 13:09:37 MST 2019] Already registered
[Mon Nov 18 13:09:37 MST 2019] _accUri=‘https://acme-staging-v02.api.letsencrypt.org/acme/acct/11597964’
[Mon Nov 18 13:09:38 MST 2019] Calc CA_KEY_HASH=‘22MLNh1nJIIskE7ENzQ80BA5PLRHYW2EwL1BujaG41Y=’
[Mon Nov 18 13:09:38 MST 2019] ACCOUNT_THUMBPRINT=‘vNTLCmjJXwYEER77fAoMKKnrwB9UAjq0XM1EnIwY4n8’
My web server is (include version):
nginx
I can login to a root shell on my machine (yes or no, or I don’t know):
yes