Skip to content
Browse files
  • Loading branch information
davecramer committed Dec 14, 2018
1 parent 9b45e70 commit 2a639fd6ef4b47559cd4c0c71fb9116640e88c94
Showing with 4 additions and 0 deletions.
  1. +4 −0 certdir/
@@ -36,9 +36,13 @@ openssl req -x509 -newkey rsa:1024 -days 3650 -nodes -keyout badroot.key -out ba
rm badroot.key

openssl pkcs8 -topk8 -in goodclient.key -out goodclient.pk8 -outform DER -v1 PBE-MD5-DES

openssl pkcs8 -topk8 -in badclient.key -out badclient.pk8 -outform DER -v1 PBE-MD5-DES

cp goodclient.crt server/root.crt
cd server

openssl req -x509 -newkey rsa:1024 -nodes -days 3650 -keyout server.key -out server.crt
cp server.crt ../goodroot.crt

#Common name is localhost, no password

0 comments on commit 2a639fd

Please sign in to comment.