gem install asciidoctor-pdf
ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20)
ERROR: You must add /......../=Zscaler Root CA/emailAddress=support@zscaler.com to your local trusted store
ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20)
ERROR: You must add /......../=Zscaler Root CA/emailAddress=support@zscaler.com to your local trusted store
ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20)
ERROR: You must add /......../=Zscaler Root CA/emailAddress=support@zscaler.com to your local trusted store
ERROR: Could not find a valid gem 'asciidoctor-pdf'(>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 peeraddr=151.101.1.227:443 state=error: certificate verify failed (unable to get local issuer certificate)(https://rubygems.org/specs.4.8.gz)
ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20)
ERROR: You must add /......../=Zscaler Root CA/emailAddress=support@zscaler.com to your local trusted store
ERROR: SSL verification error at depth 2: unable to get local issuer certificate (20)
ERROR: You must add /......../=Zscaler Root CA/emailAddress=support@zscaler.com to your local trusted store
Copy the exported .crt file and place it in a directory accessible from WSL, such as your user home. in this case zscaler.crt file was download on home folder of user
julnarot@artanis:~$ cd
julnarot@artanis:~$
julnarot@artanis:~$ ls
ο develop ο oradiag_julnarot ο scripts ο zscaler.crt
Add the certificate to WSL trusted certificates
julnarot@artanis:~$ sudo cp zscaler.crt /usr/local/share/ca-certificates/zscaler.crt
[sudo] password for julnarot:
julnarot@artanis:~$ sudo update-ca-certificates
Updating certificates in /etc/ssl/certs...
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
1 added, 0 removed;done.
Running hooks in /etc/ca-certificates/update.d...
done.
Top comments (0)