summaryrefslogtreecommitdiff
path: root/extra/yassl/certs/taoCert.txt
diff options
context:
space:
mode:
Diffstat (limited to 'extra/yassl/certs/taoCert.txt')
-rw-r--r--extra/yassl/certs/taoCert.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/yassl/certs/taoCert.txt b/extra/yassl/certs/taoCert.txt
index 585293e4f2b..f1132c0b5b8 100644
--- a/extra/yassl/certs/taoCert.txt
+++ b/extra/yassl/certs/taoCert.txt
@@ -47,4 +47,16 @@ to convert rsa private PEM to DER :
b) openssl rsa -in key.pem -outform DER -out key.der
+**** To encrypt rsa key already in pem **********
+
+a) openssl rsa <server-key.pem.bak -des >server-keyEnc.pem
+
+note location of des, pass = yassl123
+
+
+*** To make a public key from a private key ******
+
+
+openssl rsa -in 1024rsa.priv -pubout -out 1024rsa.pub
+