./configure:error:the HTTP Cache module requires MD5 functionsFrom OpenSSL Library. Can either disable the module by using--without-http-cache option, or install the OpenSSL library into the system,or builds the OpenSSL library statically from the source with Nginx by using--with-http_ssl_module--with-openssl=
This prompt occurs because SSL specifies a path error problem, OpenSSL decompression settings to
In the HTTP node in nginx.conf, add the following parameters, please refer to your certificate provider for specific parameters
server {
Listen 443;
server_name domain;
SSL on;
Ssl_certificate DOMAIN.CRT;
Ssl_certificate_key Domain.key;
Ssl_session_timeout 5m;
Ssl_protocols SSLv3 TLSv1;
Ssl_ciphers high:! Adh:! Export56:rc4+rsa:+medium;
Ssl_prefer_server_ciphers on;
Location/{
root HTML;
Index index.html index.htm;
}
}
The above d
Nginx support for multiple domain name SSL certificate is required OpenSSL library support, centos5.x OpenSSL library itself does not support this feature, the need to download the compilation, the following steps
wget https://www.openssl.org/source/old/0.9.x/openssl-0.9.8zh.tar.gzTar zxvf./openssl-0.9.8zh.tar.gzCD./openssl-0.9.8zh./config Enable-tlsextMakeMake installNginx also want to recompile, add th
Using OpenSSL to generate certificates
1, the method of generating RSA key
OpenSSL genrsa-des3-out Privkey.pem 2048
This command will generate a 2048-bit key, with a Des3 method encrypted password, if you do not want to enter the password each time, you can change to:
OpenSSL genrsa-out Privkey.pem 2048
Build 2, generate a certificate request
It is recommended that you use a 2048-bit key, which is less likely to be unsafe or will soon be unsafe.
OpenSSL Req-new-key privkey.pem-out CERT.
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.