Преглед изворни кода

Add github markup code to the documentation

bel пре 11 година
родитељ
комит
8628fd07bd
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      docs/OpenSSL.md

+ 8 - 0
docs/OpenSSL.md

@@ -38,16 +38,23 @@ One can use the following steps in Windows (in Linux replace "copy" by "cp"
 and "type" by "cat"):
 
   openssl genrsa -des3 -out server.key 1024
+  
   openssl req -new -key server.key -out server.csr
+  
   copy server.key server.key.orig
+  
   openssl rsa -in server.key.orig -out server.key
+  
   openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
+  
   copy server.crt server.pem
+  
   type server.key >> server.pem
 
 
 The server.pem should look like this (x represents BASE64 encoded data):
 
+<pre>
 -----BEGIN CERTIFICATE-----
 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -78,3 +85,4 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 -----END RSA PRIVATE KEY-----
+</pre>