I. Installation Requirements1. Nginx has compiled the ssl module. If not, re-compile the module.2. You have purchased an SSL certificate (nonsense)II. Start installation1. Mr. Cheng's own KEY The code is as follows:Copy code Cd/usr/local/nginx/conf/Openssl genrsa-out imcat. pem 2048 2. Generate the csr fileOpe
that, under the new Google search algorithm, the weight of the web page processed by "HTTPS" (HyperText Transfer security protocol)-adding an SSL security certificate to the web page will be improved, the weight of web pages that continue to adopt HTTP (Hypertext Transfer Protocol) will be relatively reduced. Therefore, this article mainly records how to add an ssl certificate to a website under Apache and
services are quite good.After you complete the steps required by StartSSL, you will get the ssl. crt and ssl. key files, upload them to a directory on your server, and then perform the following operations:Wget http://cert.startssl.com/certs/ca.pem wget http://cert.startssl.com/certs/sub.class1.server.ca.pemcat ca. pem sub. class1.server. ca. pem> ca-certs.crtcat ca-certs.crt>
Add an SSL certificate to Nginx in CentOS to support HTTPS access
SSL (Secure Sockets Layer) and its successor Transport Layer Security (TLS) are a Security protocol that provides Security and data integrity for network communication. TLS and SSL encrypt network connections at the transport layer.
An
Nginx ssl+tomcat cluster Nginx tomcat no no HTTPS
Recently done a Web project, the architecture of the use of Nginx +tomcat cluster, and the whole station HTTPS, with Nginx load, Nginx and Tomcat use intranet HTTP communication,
Generate certificateyou can generate a simple certificate by using the following steps:First, enter the directory where you want to create the certificate and private key, for example:
$ cd/usr/local/nginx/conf
Create the server private key, the command will let you enter a password:
$ OpenSSL genrsa-des3-out server.key 1024
To create a certificate (CSR) for a signing request:
$ OpenSSL req-new-key server.key-out SE
Configure SSL certificate under Nginx, default profile, normal access in PC Browser, unable to authenticate a nginx configuration mode in Mobile browser
SSL on;
Ssl_certificate /etc/nginx/ssl/certificate.crt;
S
first step is configured well
7. Paste the E2FSCK.ORG.CSR contents of the first step here
8. Then is the next step, add domain name what the simple thing
9. Finally see a piece of code is a CRT certificate, save it, I named E2FSCK.ORG.CRT here and then put it to the/usr/local/nginx/conf directory (you put it anywhere)
10. In order to enable some browsers to identify the certificate, it is also necessary to put the CA root certificate with our cer
1, Nginx configuration SSL ModuleThe default nginx is no SSL module, and my VPS is installed by default Nginx 0.7.63, incidentally, the Nginx upgrade to 0.7.64 and configure the SSL mod
default Nginx is not SSL need to be added when compiling and installing the module. SSL Module! the first is the need to install Nginx Service, here we do not do a detailed introduction, specific installation can refer to my " Nginx Introduction and Installation Configuratio
The SSL module is not installed by default, and if you want to use the module, you will need to specify the –with-http_ssl_module parameter at compile time, and the installation module relies on the OpenSSL library and some reference files, usually not in the same package. Usually this file name is similar to Libssl-dev.Generate certificateYou can generate a simple certificate by using the following steps:First, go to the directory where you want to c
Request a free HTTPS certificate https://login.wosign.com/reg.html
First check if Nginx has installed Http_ssl_module, I this is installed HTTPS module, if not this module requires Nginx smooth upgrade to add SSL to implement the station HTTPS.
can refer to http://www.open-open.com/lib/view/open1451624143370.html
Successful application will let you retrieve the
Free SSL Certificate Request
Apply for a free SSL certificate to http://www.wosign.com/Products/free_SSL.htm.
Download www.iamle.com.zip files, extract files, find for Nginx.zip decompression, get 2 files
1_WWW.IAMLE.COM_BUNDLE.CRT, 2_www.iamle.com.key
Change the name Www.iamle.com.crt,www.iamle.com.key upload to the server standby
Nginx Configure
0. DescriptionThis article describes the way to redirect the 80 port of 8443,nginx to Tomcat with Nginx 443 redirection to tomcat 8080;Random entry: Personal Tags: caicongyang1.nginx Installationcan refer to my previous article: Linux tar package installation nginx; http://blog.csdn.net/caicongyang/article/details/463
The previous two articles have been very good introduction of the Nginx configuration SSL Some cases, the configuration of nginx every boot to lose two times Pem pass phrase, is very uncomfortable, especially after the server restart, Nginx can not automatically start, you must manually start and enter the trouble of P
1. Configure the SSL module for nginx
Nginx does not have an SSL module by default, while nginx 0.7.63 is installed in my VPs by default. The following describes how to upgrade nginx to 0.7.64 and configure the
The SSL module is not installed by default, and if you want to use the module, you will need to specify the –with-http_ssl_module parameter when you compile Nginx.Demand:Doing a website domain name for www.localhost.cn requires access through https://www.localhost.cn.10.10.100.8 www.localhost.cnExperimental steps:1. First ensure that OpenSSL and Openssl-devel are installed on the machine#yum Install Openssl#yum Install Openssl-devel2. Create a server
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.