Although staging can issue a test certificate from let's encrypt When changing to production and launching the container, the following error occurs
https-portal container log
Response Code: 403
Response: {u'status': 403, u'type': u'urn:ietf:params:acme:error:unauthorized', u'detail': u'An account with the provided public key exists but is deactivated'}
================================================================================
Failed to sign domain name
Make sure you DNS is configured correctly and is propagated to this host
machine. Sometimes that takes a while.
================================================================================
Failed to obtain certs for domain name
https://crt.sh/ I can't find the history of issuing the certificate even if I gg in the domain, isn't it possible to issue this certificate?
I checked the port and DNS settings, but I could not confirm any error items such as this.
Read the entire description of README.md in the https-portal repository
Automatic Container Discovery WARNING: WE STRONGLY RECOMMEND AGAINST USING THIS FEATURE UNLESS ABSOLUTELY NECESSARY as exposing Docker socket to a container (even with :ro) essentially gives the container root access to your host OS. If you insist, verify the source code carefully. Read more HTTPS-PORTAL is capable of discovering other Docker containers running on the same host, as long as the Docker API socket is accessible within the container.
Oh, maybe the container couldn't be detected?
Try changing the volume description as described below
services:
https-portal:
# ...
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro # DANGEROUS, see the warning above
Start the container again and wait a few minutes while checking the log
I got the certificate! !! !! !!
Recommended Posts