/M01/7F/3B/wKiom1cXNjCQbC1gAAArRE8N8KE046.jpg "title=" 3.jpg " alt= "Wkiom1cxnjcqbc1gaaarre8n8ke046.jpg"/>Other function annotations (without modification):Sslengine on #开启SSL功能SSLProtocol all-sslv2 #支持SSL所有协议, but Sslv2sslciphersuite high:medium:!anull:! is not supported md5:! seed:! Idea #支持的SSL加密方式,! indicates no support~]# httpd-t (test syntax)~]# Service httpd Restart (change listening port)because it points to the default path, it supports both HTTP and
) Service This key encrypts the resource requested by the user, responds to the client; The note: SSL session is created based on IP address, so on a single IP host, Only one HTTPS virtual host can be used; Review several terms: pki,ca,crl,x.509 (v1, v2, v3) configuration httpd support https: (1) Request a digital certificate for the serv
Here is a simple demonstration of encrypted access-https encrypted access under Apache. 1. I will not repeat the DNS resolution here. I will see the dns resolution situation in this demonstration: [root @ localhosthtml] # nslookupwww. abc. comServer: 192.168.2.115Address: 1
Here is a simple demonstration of encrypted access-https encrypted access under Apache.
1. I will not go into details about DNS resolut
there would be a default value,If you enter '. ', the field would be a left blank.-----Country Name (2 letter code) [XX]:State or province name (full name) []:Locality Name (eg, city) [Default City]:Organization Name (eg, company) [Default company LTD]:Organizational Unit Name (eg, section) []:Common name (eg, your name or your server ' s hostname) []:registry-backup.niudingfeng.comEmail Address []:5. Generate Configuration fileCd/data/harbor/make ./prepare6. Copy docker-compose fileCd/data/har
Enter the following ' extra ' attributesto is sent with your certificate Requesta challenge password []:an Optional Company Name []:[[emailprotected] ssl]# SCP HTTPD.CSR 192.168.64.104:/etc/pki/ca[emailprotected] ' s password: HTTPD.CSR 100% 696 0.7kb/s 00:00[[emailprotected] ssl]# tree. ├──cacert.pem├──httpd.crt├──httpd.csr└──httpd.key0 directories, 4 filesvim/etc/httpd/conf.d/ssl.conf servername www . magedu.com:443sslcertificatekeyfile/etc/httpd/c
virtual host defined in the vim/etc/httpd/conf.d/v ...25. Send the certificate request to the CA station on the SSL directory SCP HTTPD.CSR 192.168.9.250:/tmp26, go to 9.250 on the server OpenSSL ca-in/tmp/httpd.csr-out/tmp/httpd.crt-days 365027, Cd/etc/pki/ca;;;;;cat serial found to be 0228, we go back to the server, SCP to 9.250 to take an integerSCP 192.168.9.250:/TMP/HTTPD.CRT./29, go 9.250 on delete tmp under RM httpd.c*30, configure the server
more SSL connections and disconnects, consumes a lot of resources, the CPU pressure is very high. It is important to have a certificate in HTTPS with the following certificate format: Certificate version number Certificate serial Number Certificate signing algorithm Certificate issuer Certificate Validity period The name of the object (which needs to be consistent with the server's host name) The public key of the object Additional Information Digita
HTTPS one-way verification application widely presumably everyone is familiar with, I have been in a blog share, this time to see how nginx to achieve two-way authentication.
The difference between one-way validation and two-way validation:
One-way authentication: Refers to the client Authentication server-side certificate, the server does not need to authenticate the client certificate.
Bidirectional authentication: The client authenticates the se
Here is a simple demonstration of Apache encryption based authentication access----HTTPS encryption method access.
1.DNS Resolution resolution:
[Root@localhost html]# nslookup www.downcc.com
server:192.168.2.115
address:192.168.2.115#53
Name:www.downcc.com
address:192.168.2.115
2. Install the Apache SSL support module: # yum install-y mod_ssl (default yum installation httpd is not installed this module, automatic production of/etc/httpd/conf.d/
renegotiate, of course, due to the need of special scenarios, should allow the server to initiate re-negotiation.
5 concluding remarks
HTTPS practice and optimization involves a lot of knowledge points, because of the space relationship, this article on a number of optimization strategies are simply introduced. If you want to understand the rationale behind the protocol, you need to read the TLS protocol and PKI
, this location must be consistent with the location defined by the virtual host in the Apache configuration file.
Sslengine on # enable
Sslcertificatefile/etc/httpd/SSL/httpd. CRT # certificate storage location
Sslcertificatekeyfile/etc/httpd/SSL/httpd. Key # key storage location
: WQ
[[Email protected] SSL] # echo text.bj.com>/var/www/html/index.html
[[Email protected] SSL] #/etc/init. d/httpd start
[[Email protected] SSL] # netstat-tnlp # Check whether port 443 is enabled
/O = www.iigrowing.cn/ouw.iigrowing/cnw.iig.local.ftp
Getting Private key
[Root @ iig certs] #5. Modify the nginx configuration file
Modify the configuration file. Note that we can copy the default ssl module to the virtual directory we created. Do not open it by default, and then modify the path. Is the complete configuration. Remember to restart the service.
Worker_processes 1;
Events {
Worker_connections 1024;
}
Http {
Include mime. types;
Default_type application/octet-stream;
Sendfile on;
K
Recently busy with the third-party SMS company docking SMS Uplink interface. The transmission of data is given by means of HTTPS and digest authentication. Digest authentication is implemented by the front-end phper, I need to complete the NGINX+SSL implementation of HTTPS services. SSL is produced using OpenSSL itself.SSL principle:Given the knowledge of the SSL principle, there is no longer much elaborati
Transferred from: https://www.cnblogs.com/ccccwork/p/6529367.html1, to build HTTPS, must have something1, Hypertext Transfer Protocol httpd (Apache) and SSL module (MOD_SSL)2, the certificate used to encrypt the hyper-file transfer. (OpenSSL makes self-signed certificate)3, test2, installation httpdYum Install httpd mod_ssl-y3. Installing OpenSSLYum Install Openssl-y/etc/httpd/conf//var/www//etc/
Apache implements https certificate key verification-Linux Enterprise Application-Linux server application information. The following is a detailed description. Build basic Apache services and access them properly.
1. Install the mod_ssl module to allow Linux to support SSL:
Yum install mod_ssl-y
2. Create a certificate and key file:
Cd/etc/pki/tls/certs
Make httpd. crt // The Name Of The certificate file.
I. Basic Knowledge
Httpd: SSL
The SSL module creates an SSL session separately based on an IP address. Therefore, only one SSL session is created for each IP address. The work to complete the SSL handshake is as follows: exchange Protocol version number select the encryption method supported by both parties. The client implements authentication and key exchange for the server. HTTPS protocol: Based on the SSL binary code, 443/tcpopenssl s_client verif
Environment: Two Linux virtual machines and one Windows native, one for the Web server to use HTTPS transport apache2.4.4, another CA server, window to test the HTTPS configuration.1.CA Server generates private CA1.1 Generate private key, enter/ETC/PKI/CA [Email protected] ca]# (umask 077; OpenSSL genrsa-out Private/cakey.pem) // The CA private key must be
", to get the following screen (this is Nginx's own page, in "/local/nginx/html/" Inside):650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/08/9C/wKiom1nkoiKSrnpZAABuMl5ICYg177.png-wh_500x0-wm_ 3-wmp_4-s_2144801562.png "title=" Tim20171016201158.png "alt=" Wkiom1nkoiksrnpzaabuml5icyg177.png-wh_50 "/>Third, production certificationReference: http://11142243.blog.51cto.com/11132243/1972413Enter the directory "cd/etc/
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.