One, under Windows + Apache, the software is XAMPP
Description: Reference (http://blog.sina.com.cn/s/blog_5d7dbbdd0101042n.html)
1. Copy the certificate-generated configuration file (HTTP://TUD.AT/PROGRAMM/OPENSSL.CNF) to the APACHE/CONF/SSLWORK/OPENSSL.CNF
2. cmd into the Apache/bin directory (must be the directory where Openssl.exe resides).
E:\mysoft\xampp\apache\bin>openssl Req-config. /conf/sslwork/openssl.cnf-new-out SERVER.CSR
3. Fill in the contents successively. Set a password.
OpenSSL rsa-in privkey.pem-out Examp.key
OpenSSL x509-in examp.csr-out Examp.crt-req-signkey examp.key-days 730
4. This current entry directory (***apache/bin) generates several files, Examp.key, EXAMP.CRT copied to
Apache/conf/ssl.crt/examp.crt
Apache/conf/ssl.key/examp.key
5. Follow the example configuration http-ssl.conf.
Your own generated certificate is meaningless and is for local development only.
VeriSign is too expensive and the cheapest is 20,001 years. I applied for the free version of Startssl.com, and of course its basic paid edition was only $49 a year.
Another problem is that if your operating system is under Windows XP SP2, does not support SHA2 encryption, can use SHA1 encryption, or download patches (official patch download)
The Linux record is temporarily unavailable.
Configuring OpenSSL to support HTTPS access