After successfully issued the cert, i got cert.pem chain.pem fullchain.pem privkey.pem 4 files, but this project needs REGISTRY_HTTP_TLS_CERTIFICATE and REGISTRY_HTTP_TLS_KEY, so I don’t know how to fill these values.
then i tried
openssl x509 -outform der -in chain.pem -out domain.crt
openssl rsa -outform der -in privkey.pem -out domain.key
verified those generated files with openssl seems good, but when I docker-compose up i got this error:
level=fatal msg="crypto/tls: private key does not match public key
Quick question: almost every bit of advice says to use fullchain when a config asks for the cert - when would we use cert.pem as opposed to fullchain.pem? Or is fullchain preferable in just about every situation?