Created
April 4, 2018 12:47
-
-
Save tujlaky/8cd32de1778951f8d083dd3068398e71 to your computer and use it in GitHub Desktop.
linux ssl hack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo QUIT | openssl s_client -connect localhost:8101 | sed -ne '/BEGIN CERT/,/END CERT/p' > my-cert | |
| certutil certutil -d sql:~/.pki/nssdb -A -t "P,," -n my-cert -i my-cert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment