https://rancher.com/ logo
Title
l

limited-planet-94551

01/27/2023, 4:17 PM
I have a signed trusted certificate. Can I use it with Rancher if I use the Docker install or do I have to use helm?
b

billions-vase-14972

01/31/2023, 1:51 PM
You could try with something like this:
docker run -d --restart=unless-stopped \
  -p 80:80 -p 443:443 \
  -v /<CERT_DIRECTORY>/<FULL_CHAIN.pem>:/etc/rancher/ssl/cert.pem \
  -v /<CERT_DIRECTORY>/<PRIVATE_KEY.pem>:/etc/rancher/ssl/key.pem \
  -v /<CERT_DIRECTORY>/<CA_CERTS.pem>:/etc/rancher/ssl/cacerts.pem \
  --privileged \
  rancher/rancher:latest
b

breezy-cricket-37027

03/09/2023, 8:40 AM
@billions-vase-14972 u run the commande but i have this error: key.pem does not contain a certificate or CRL: skipping and an don't have an https connection