on IP address, so only one HTTPS virtual host can be used on a single IP hostTwo: Configure HTTPD to support HTTPS(1) Apply for a digital certificate for the server;Testing: Issuing a certificate through a privately built CA(a) creating a private CA(b) Create a certificate signing request on the server(c) CA Visa(2) Configure HTTPD to support the use of SSL, and the use of certificates;# yum-y Install Mod_sslConfiguration file:/etc/httpd/conf.d/ssl.confDocumentRootServerNameSslcertificatefileSs
Self-built CA Based on OpenSSL and SSL certificate issuance
For details about SSL/TLS, see the SSL/TLS principles.For more information about Certificate Authority (CA) and digital certificate, see OpenSSL and SSL digital certificate concepts.
Openssl is a suite of open-source programs. It consists of three parts: one islibcryto, This is a general function of the encryption library, which implements a large number of encryption libraries; secondlibsslThis implements the ssl mechanism. It is used
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/ssl.conf files after installation) and genera
.# mkdir Results/home/myftp#chmod 755 Results#chattr +i/home/resultsVI. Configuring SSL Encryption1, through Rpm-qa | OpenSSL to see if OpenSSL is installed, install first2, new directory, in order to place the certificate, it is possible that the Certs folder already exists, but to confirm that the existing folder is only a link.
Mkdir-p/etc/ssl/certs
chmod 700/etc/ssl/
following article.
Envoy Hot Update Policy
to learn more about Envoy's hot-update strategy, you can crossing the Web blog envoy Heat restart.
A brief introduction to the following Envoy hot update steps:
Start another envoy2 process (secondary)
Envoy2 notifies envoy1 (Primary process) to close its managed port, which is taken over by Envoy2
Bring envoy1 available listen sockets through the UDs.
Envoy2 initialization succeeds, notifies envoy1 to gracefully close a
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 resolution here. I will discuss the dns resolution situation in this demonstration:
[Root @ lo
The pkcs7 encryption in python seems to be implemented differently, and the results are completely different. The php code is as follows {code...}. How should I write this method using python?
The pkcs7 encryption in python seems to have different implementations, and the results are completely different.
The php code is as follows:Public static function envelope ($ data) {$ Millisecond = SignEnvelope: getMillisecond (); // Save the source data file $ dataFile = ". /rsa /". $ Millisecond. "da
, or to add a corresponding mapping in/etc/hosts.
The code for the client that can send the request is as follows, note how to import the root certificate:
package mainimport (//"io"//"log""crypto/tls""crypto/x509"//"encoding/json""fmt""io/ioutil""net/http"//"strings")func main() {//x509.Certificate.pool := x509.NewCertPool()//caCertPath := "etcdcerts/ca.crt"caCertPath := "certs/cert_server/ca.crt"caCrt, err := ioutil.ReadFile(caCertPath)if err != nil
1. Pull the Docker registry imageDocker Pull Registry2. Create a certificate store directoryMkdir-p/home/registry3, Generate CA CertificateEdit your/etc/ssl/openssl.cnf on the logstash host-add subjectaltname = ip:10.1.10.1 inch [V3_ca] section.In general, the certificate only supports domain name access, to enable it to support IP address access, you need to modify the configuration file OPENSSL.CNF.In the REDHAT7 system, the Openssl.cnf file is located in/etc/pki/tls/openssl.cnf. In the [V3_ca
Docker + swarm ClusterDocker + swarm ClusterGuideSwarm is a new container management tool released by Docker in early December 2014. Docker management tools released with Swarm include Machine and Compose. Swarm is a simple tool used to manage Docker clusters. It is equivalent to a virtual whole when a Docker cluster is exposed to users. Swarm uses the standard Docker API interface as its front-end access portal.
Build a cluster trainer using a virtual machine using tokenInstall swarmdocker run
] # lscacert. PEM private
3. Edit the CA configuration file, which is located in etc/pki/tls/OpenSSL. CNF. It specifies the directory of your CA and changes the default attribute value.
[Root @ server56 Ca] # Vim/etc/pki/tls/OpenSSL. CNF [ca_default] dir = .. /.. /CA # where everything is kept **************** ca path, change to the absolute path certs = $ DIR/certs # Where the issued
) []:optcommon name (eg, your name or you R server ' s hostname) []:ca.magedu.com * issuer name **email Address []:[emailprotected][[emailprotected] ca]# Tree .. ├──cacert.pem├──certs├──crl├──httpd.csr├──index.txt├──newcerts├──private│?? └──cakey.pem└──serial4 directories, 5 files[[emailprotected] ca]# OpenSSL ca-in httpd.csr-out certs/httpd.crt-d Ays 700Using configuration from/etc/pki/tls/openssl.cnfcheck
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.