#2643·os

User generated certificate is not working

Author: pan1nxCreated Jan 10, 2019Updated Dec 16, 2022
Labelskind/question

RancherOS Version: v1.5.0

Where are you running RancherOS? baremetal

After I did the steps from documentation (https://rancher.com/docs/os/v1.x/en/installation/configuration/setting-up-docker-tls/) I am still not able to connect.

docker --tlsverify version Version: 18.06.1-ce API version: 1.38 Go version: go1.10.3 Git commit: e68fc7a Built: Tue Aug 21 17:20:43 2018 OS/Arch: linux/amd64 Experimental: false error during connect: Get https://localhost:2376/v1.38/version: x509: certificate has expired or is not yet valid

Logs from /var/log/docker.log 2019-01-10 12:51:10.621318 I | http: TLS handshake error from [::1]:45608: remote error: tls: bad certificate

Any idea what can cause such problem?