Linux system add root certificate linux Certificate Trust List
1. https certificate access in linux
[root@boss-test-dev001-jydx ~]# curl -v https://mobile.mycard520.com.tw* About to connect() to mobile.mycard520.com.tw port 443 (#0)* Trying 220.130.127.122... connected* Connected to mobile.mycard520.com.tw (220.130.127.122) port 443 (#0)* Initializing NSS with certpath: sql:/etc/pki/nssdb* CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none* Ce
certificate for the servercd/etc/pki/tls/OpenSSL req-subj '/cn=www.elk.com/'-x509-days 3650-batch-nodes-newkey rsa:2048-keyout private/logstash-forwarder.ke Y-out CERTS/LOGSTASH-FORWARDER.CRTCopy the LOGSTASH-FORWARDER.CRT to the client sideSCP CERTS/LOGSTASH-FORWARDER.CRT 192.168.100.13:/etc/pki/tls/certs/Configuration of the logstash.conf of the 2 server segme
certificates
1
OpenSSL req-new -x509-key server. Key 3650
Certificate Generation for clients
In addition to "server-side Certificates", "Client certificates" are also involved in some scenarios. The so-called "client certificate" is used to prove the identity of the client visitor.For example, in some financial companies ' intranet, you must deploy a "client certificate" on your computer to open the pages of important servers.I will demonstrate t
modify
[Email protected] ca]# VIM/ETC/PKI/TLS/OPENSSL.CNFCountry Name_default = CNStateorprovincename_default = BeijingLocatityname_default = Shangdi0.organizationname_default = M19organizationunitname = Jishu
Generate a self-visa certificate (Root CA)
[email protected] ca]# OpenSSL req-new-x509/etc/pki/ca/private/cakey.pem-days 3650-out/etc/pki/ca/cacert.pemCommon name (eg, your name or your server ' s hostname) []:haizei.zou.com need to define its own host
to other certificates, for example, WEB certificate authentication$ Openssl genrsa-des3-out/etc/ssl/private/CAS. key 2048$ Chmod 700/etc/ssl/private/CA. key 20486. Fill in the CA certificate application file (CSR)$ Openssl req-new-key/etc/ssl/private/CA. key-out/tmp/CA. rcSome information will pop up later. Enter the information as prompted. After the certificate is generated, a certificate request file is generated. This step is equivalent to entering your information on the Professional Certi
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 @ localhost html] # nslookup www. abc. comServer: 192.168.2.115Address: 192.168.2.115 #53 Name: www. abc. comAddress: 192.168.2.115
2. install the Apache SSL support module: # yum install-y mod_ssl (httpd is not installed by default in yum. After installation, it will automatic
After launching Docker today, I found that the package was wrong:
? ~ Docker Images
2014/12/11 17:11:06 Get http:///var/run/docker.sock/v1.15/images/json:dial unix/var/run/docker.sock:no such file or di Rectory
So see if boot2docker is not up:
~ boot2docker up
Waiting for VMs and Docker daemon to start ...
..... oooo.
Started.
Writing/users/nilyang/.boot2docker/certs/boot2docker-vm
the server's/etc/pki/tls/certs/, and copy the. Key and. CSR files to/etc/pki/tls/private/. (for CentOS server only, other servers please Baidu).You will also need to link the CERT.PEM (if not one) under/etc/pki/tls/to/ETC/PKI/TLS/CERTS/ROOT.CRTThis will not be reported sec_error_unknown_issuer this error when it is accessed in Firefox browser.This CERT.PEM is a certificate chain, and only if your server ce
connections LLS)First generate Sendmail.pem file# Cd/etc/pki/tls/certs# Make Sendmail.pemCountry Name (2 letter code) [Gb]:chState or province Name (full name) [Berkshire]:shLocality Name (eg, city) [Newbury]:shOrganization Name (eg, company) [Me company ltd]:test.Organizational unit Name (eg, section) []:itCommon name (eg, your name or your server ' s hostname) []: server110. come-mail address []:test@ server110. com 3.3 Configuration Sendmail.mc# V
the increase in various costs.
If the order is reversed, the result will be miserable: the first increase of the number of customers, because the sales have not increased, but the cost has to increase, the operation will be very hard. In addition to reducing profits and getting too busy to make money, the risk also increases and falls into an unbearable miserable dilemma.
The consumer's purchase behavior shows the "vword price curve"
Most people think that in such a poor situation, it is i
executed by Eval, and there are @sourceurl
Cheap-eval-source-map: Conversion code (inline) Each module is executed by Eval, and Sourcemap as a dataurl of eval
Cheap-module-eval-source-map: The original code (only in line) is the same, but the higher quality and lower performance
Eval-source-map: The original code is the same, but the highest quality and lowest performance
name (2 letter code) [GB]: "Enter a two-character country name here. Chinese for CN " State or province name (full name) [Berkshire]:" Province name, such as Beijing for Beijing " Locality name (eg, city) [Newbury]:" Town name , such as Beijing " Organization name (eg, company) [My companies LTD]:" Corporate name " Organizational unit name (eg, section) []:" Department name " Common name (eg, your name or your server ' s hostname) []: "Name, usually certificate name, prosody need to lose your
Generate a certificate of your own signatureThe process of generating the signature needs to be prompted to enter some parameters, you need to note that when common name needs to enter a domain name that you need, if the internal domain name remember when you need to modify the hosts.Mkdir/data/certs-pCd/data/certsOpenSSL Req-newkey rsa:4096-nodes-sha256 \-keyout domain.key-x509-days 365-out DOMAIN.CRTRunning Docker registry ImagesDocker run-d-P 443:5
Baidu UnionPay pay, basic in the spray UnionPay code rotten, or to take the official code posted up, are not careful to say the integration process, the use is not very much here to record my integration process, I hope to help everyone
Official DemoIt is said that the UnionPay code has no specifications and the documents are rotten. But others very attentively, provided the demo, a little modification can be directly run. If you do not want to see this step, skip directly,
but the demo still ha
Do you really want low-price websites? What are the problems with low-price website construction? When many enterprises build websites, the person in charge is surprised to see that the network company has made a price of Yuan,
They all said that the current website is just like selling invoices on the side of the road. You can find a website production company and the cost is no more than two thousand yuan. In fact, these enterprises only
Price is emphasized, while Website Functions and qua
used
Dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
Dnl # use LOGIN. Other mechanic ISMs shoshould be used if the connection is not
Dnl # guaranteed secure.
Dnl #
Define (QUEUE_DIR, '/var/spool/mqueue/q *')
TRUST_AUTH_MECH ('external DIGEST-MD5 CRAM-MD5 login plain ') dnl
Define ('confauth _ MECHANISMS ', 'external GSSAPI DIGEST-MD5 CRAM-MD5 login plain') dnl
Dnl #
Dnl # Rudimentary information on creating certificates for sendmail TLS:
Dnl # make-C/usr/share/ssl/
if the connection is notDnl # guaranteed secure.Dnl #TRUST_AUTH_MECH ('external DIGEST-MD5 CRAM-MD5 login plain ') dnl// Set smtp authentication, which means that if access. db access control// If not set, this authentication method is enabled for smtp authenticationDefine ('confauth _ MECHANISMS ', 'external GSSAPI DIGEST-MD5 CRAM-MD5 login plain') dnlDnl #Dnl # Rudimentary information on creating certificates for sendmail TLS:Dnl # make-C/usr/share/ssl/ce
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.