platforms. The operating system needs to install OpenSSL, and this part of the operation should be performed as a system administrator, therefore, the following command line uses the "#" identifier to start the header.After OpenSSL is installed, the system will generate the openssl. cnf file under the/etc/ssl/Directory (different operating systems may be located in different directories). This file will be used later.The secret and serial files are used to track key and certificate re
remember the state or province name (full name) []:hangzhou Province Ibid. locality name (eg, city) [Default City]:hangzhou//cities ibid. Organization Name (E G, company) [Default Corporate Ltd]:taobao//Corporation Ibid. organizational Unit Name (eg, section) []:test Organization Common name (eg, your name or your server's hostname) []:test.com//Domain name here fill in your company's domain nameemail Address []:[email protected]//admin mail [[Email protected] ca]#Look lo
. pem4096)
2. generate self-signed documents[Root @ ch sysroot] # openssl req-new-x509-key/etc/pki/CA/private/cakey. pem-out/etc/pki/CA/cacert. pem-days 365Country Name (2 letter code) [XX]: CNState or Province Name (full name) []: BeijingLocality Name (eg, city) [Default City]: BeijingOrganization Name (eg, company) [Default Company Ltd]: CHOrganizational Unit Name (eg, section) []: OpsCommon Name (eg, your name or your server's hostname) []: chEmail Address []:
3. Provide required directories
R Oot 891 June 07:35 Httpd.key then pass HTTPD.CSR to the CA server [[emailprotected] ssl]# SCP HTTPD.CSR [emailprotected]:/ tmp/Signing certificate on CA server [[emailprotected] ca]# OpenSSL ca-in/tmp/httpd.csr-out certs/www.web1.com.crt-days 365UsinG configuration from/etc/pki/tls/openssl.cnfcheck that the request matches the Signaturesignature okcertificate Details: Serial number:1 (0x1) validity nbsp Not Before:may 02:30:52 gmt
certification authority. These certificates cost money, but they add to the reputation of the network service provider.
Get readyIn this document, we will use a self-signed certificate. Assume that CentOS has an Apache Web server installed. We need to generate a self-signed certificate using OpenSSL. If OpenSSL is not already installed, it can be installed using Yum.# yum Install mod_ssl OpenSSLGenerate a self-signed certificateThe following command can be used to generate a self-signed ce
:/root/.docker/machine/certs/ca.pemcreating Client Certificate:/root/.docker/machine/certs/cert.pemrunning pre-create checks ... Creating machine ... (host1) No SSH key specified. Assuming an existing key in the default location. Waiting for machine to is running, this could take a few minutes ... Detecting operating system of created instance ... Waiting for SSH to be available ... Detecting the Provisione
/pki/ca/{certs,crl,newcerts}~]# Touch/etc/pki/ca/{serial,index.txt}~]# echo >/etc/pki/ca/serialThis script analyzes the openssl.conf file to obtain the relevant path, and then through the command to build a private CA, the relevant information from the visa book through the array to save through the echo command to generate a self-visa book. The specific script content is as follows:#!/bin/bash#program:#thisprogramisusedto Creatca#history: #2016/4/9xi
Detailed procedures for PROFTPD installation and uninstall on Linux systems
Yum Install proftpd
vi/etc/proftpd.conf← Modify PROFTPD configuration fileServerType standalone← Find this line and add "#" at the beginning↓#ServerType standalone← into this state, no resident mode is used#ServerType inetd← Find this line and remove the "#" at the beginning.↓ServerType inetd← into this state, starting with a super server proftpdDefaultroot ~!adm← Find this line, change "!adm" to "/public_html!wheel"↓D
is only one JSP, to see if HTTPS client authentication is effective.1. Create WebApp to test https:Create a directory Testhttps in $tomcat_home/webapps/and create Web-inf directories in the Testhttps directory, and create web.xml files in the directory as follows:File: $TOMCAT _home/webapps/web-inf/web.xmlXmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:schemalocation= "Http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"version= "2.4" >2. Create a JSP that
Problem:[[email protected] opt]# git clone https://github.com/docker/docker.gitCloning to ' Docker ' ...Fatal:unable to access ' https://github.com/docker/docker.git/': Problem with the SSL CA cert (path? access rights?)Workaround:1, to see if there is ca-bundle .crt ,[Email protected] opt]# LS/ETC/PKI/TLS/CERTS/CA-BUNDLE.CRT/etc/pki/tls/certs/ca-bundle.crt2, if present, it is possible that the /ETC/PKI/TLS
white listUserlist_file=/etc/vsftpd/users_list: User authentication blacklist, this is the default valueExperiment: Implement FTPS based on SSL[[Email protected] ~] #ldd 'which vsftpd' | grep libssl.so #查看 Whether SSL is supported Libssl.so. Ten =/lib64/libssl.so. Ten (0x00007feea94e2000)1. Create a self-signed certificate[Email protected] ~]#cd/etc/pki/tls/certs/[[email protected] certs]# makeVSFTP
This article mainly introduces python and the code used to query google Keyword rankings by shell. For more information about the code, see the company of my wife recently. Our company is engaged in seo, and there are a lot of keywords and websites to query. It is so distressing to watch our elders repeat the search work so hard. So I spent some time using python to write a py script based on the keyword search site ranking.
Before writing this script, I also searched the website for the script
a high-end store, assume Hermès is a world-famous luxury brand .) You can see that the price of a bag is USD 7000 ." Haha, that's really expensive !" You and your friends said ." Buy a pack for $7000 !" Then you find a good watch, which is priced at $367. And tianmeishi (Timex is the most popular fashion watch brand in the United States. It focuses on low-end products .) Watch, this is absolutely super expensive. But this is definitely a bargain compared to the $7000 bag you just remembered. In
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.