1. echo -n | openssl s_client -showcerts -connect registry.example.com:port 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > xxca.crt
Replace the "registry.example.com:port" to your SSL VPN gateway URL and port.
2. Go to the file "xxca.crt", use a editor like "notepadqq" to open the file
3. Copy all the text in the xxca.crt
4. sudo vi /usr/local/share/ca-certificates/xxca.crt
5. Paste all text into this file and :wq (To save those text)
6. sudo update-ca-certificates
7. Reboot your machine
8. Then you can use the Forticlient to connect your VPN gateway.
Reference:
https://blog.keepchen.com/a/configure-forticlient-vpn-on-deepin-25.html
No comments:
Post a Comment