Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 596 Bytes

curl:_(60)_SSL_certificate_problem.md

File metadata and controls

26 lines (17 loc) · 596 Bytes

how to fix

curl: (60) SSL certificate problem: unable to get local issuer certificate


just append your certificate and CA certificate

$ cat server.crt ca.crt > server.chained.crt

server.crt = usually the long one (The PEM format certificate)

ca.crt = usually the short one (The PEM format CA certificate chain)


nginx.conf

// --------
ssl_certificate      /home/yourusername/ssl/server.chained.crt;
ssl_certificate_key  /home/yourusername/ssl/server_private.key;

// ---------