Changeset - 390389cf45fd
[Not reviewed]
0 1 0
Jan Kaluza - 12 years ago 2013-02-22 08:27:35
hanzz.k@gmail.com
Update documentation/configuration/server_ssl.md
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
documentation/configuration/server_ssl.md
Show inline comments
 
@@ -11,14 +11,15 @@ This article describes how to generate self-signed server certificate and use it
 

	
 
	$ openssl genrsa -des3 -out my-ca.key 2048
 
	$ openssl req -new -x509 -days 3650 -key my-ca.key -out my-ca.crt
 

	
 
### Make a key and a certificate for the server
 

	
 
* When prompted for "Common Name (eg, your name or your server's hostname) []:", add the hostname/JID of your transport (for example "localhost").
 
* When prompted for "A challenge password []:", *do not* set it.
 
When prompted for "Common Name (eg, your name or your server's hostname) []:", add the hostname/JID of your transport (for example "localhost").
 

	
 
When prompted for "A challenge password []:", *do not* set it.
 

	
 
	$ openssl genrsa -des3 -out spectrum2-server.key 1024
 
	$ openssl req -new -key spectrum2-server.key -out spectrum2-server.csr
 
	$ openssl x509 -req -in spectrum2-server.csr -out spectrum2-server.crt -sha1 -CA my-ca.crt -CAkey my-ca.key -CAcreateserial -days 3650
 

	
 
### Convert server key and certficate to PKCS#12 format
0 comments (0 inline, 0 general)