Configuring OpenSSL to support HTTPS access

Source: Internet
Author: User
Tags openssl rsa openssl x509 sha1 encryption

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.