One: Configure private CA commands1. Edit the configuration file/etc/pki/tls/openssl.cnfChange dir to ".. /.. /ca "changed to"/etc/pki/ca "You can change the default country, province, citymkdir certs Newcerts CRLTouch Index.txtTouch serialEcho >serial2. Create a private key (the public key is generated from this)Under the/etc/pki/ca directory(umask 077;openssl genrsa 2048 >private/cakey.pem) or(Umask 077;openssl genrsa-out PRIVATE/CAKEY.PEM 2048)Note: The-out option needs to be followed GenrsaO
, do the following:A) Use your own private key to decrypt the information to remove the password, use the password to decrypt the browser's handshake message, and verify that the hash is consistent with the browser.b) Encrypt a handshake message with a password and send it to the browser.5. The browser decrypts and calculates the hash of the handshake message, if it is consistent with the hash of the server, at which point the handshake process ends, and all the communication data will be encryp
The KeyStore can hold multiple entries (public/private key pairs and certificates), which are distinguished by aliases (alias) in the KeyStore.1.CD C:\Program Files (x86) \java\jdk1.6.0_10\bin2. Generate the Signing certificate: keytool-genkey-v-keystore android.keystore-alias android-keyalg rsa-validity 20000[-genkey: Generate key][-keystore: Specify storage location to add path C:\Users\dxcb\android.keystore, default in user home directory][-alias:
Security certificates are often used when browsing special websites, and can only be accessed after the browser has installed the corresponding certificate. such as online booking site 12306, when we did not install the certificate when the visit, IE9 will prompt us to display only the security content.
Installing a certificate can make browsing more secure and, of course, indirectly increase our level of hassle (this is a good way to learn more abou
original, change the AlwaysOff to OptIn (System defaults) on it, then you can enter the Alipay account.
Problems with installing certificates
Installing a Alipay certificate on Windows 7 typically encounters 2 error prompts.
Error One: 800a138f error
This error is caused by disabling the Microsoft certificate enrollment CAB, which can be canceled.
Workaround: If "error code 800a138f" error occurs, simply install the "Yahoo Helper" and remove the
Here's how Linux systems generate certificates through the OpenSSL command.First, execute the following command to generate a 4,096-bit key
The code is as follows
Copy Code
OpenSSL genrsa-des3-out hupohost.key 4096
Then he will ask you to enter the password for this key file. Input is not recommended. Because in the future to be used for nginx. Every time reload Nginx configuration, you need to verify this Pam pa
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;
Ssl_certificate_key
1. First to generate the server-side private key (key file):
The code is as follows
Copy Code
OpenSSL genrsa-des3-out Server.key 1024
The runtime prompts for a password, which is used to encrypt the key file
steps:
Open:%systemroot%\system32\inetsrv\config\
Open: ApplicationHost.config
Find:
bindinginformation= "IP address : 443: fill in the domain name here "/>
effects in IIS: effects accessed through "Https://IP":Not
Under the Mac operating system, it is simpler to generate an Apple certificate, full graphical operation.
using Keychain Access (Keychain access)The Mac operating system handles the certificate with "Keychain Access" (the Chinese system is named
To build a certificate and put it in a program
FileInputStream fis = new FileInputStream ("Outputlicense.xml");/input
FileOutputStream fos = new FileOutputStream (" License.enc ")//output
key key = new Encryptiondecryption (). Getkey
Now we can go into the release OWA process. You first need to generate a new trusted certificate for Exchange Server, unlike Exchange 2007, where Exchange 2010 's certificate request files are done in EMC, not in IIS.
Turn on EMC, navigate to the
Security is very important, how to build security is also critical, the use of Hyper-V virtual technology to bring a lot of convenience to enterprises, but also brought some hidden dangers, a well-known fact is: when the data in plaintext
1. First generate the server-side private key Server.key, the same can also generate the client's Key,client.key:
OpenSSL genrsa-des3-out Server.key 1024
2. Generate the signature's public key CLIENT.CRT:
OpenSSL req-new-x509-key
Prerequisite:nginx as Server, Java httpclient as Client
Nginx need to increase the Nginx SSL module:
./configure--prefix=/usr/local/nginx--with-http_stub_status_module--with-http_ssl_module--with-openssl=/usr/ Local/openssl
At this point, you may
the lantern in my hand is the enemy of the Dark Road before me .
Program.cs Code:
Class program
{
static void Main (string[] args)
{
Console.WriteLine ("X509 certificate Utility");
Console.WriteLine ("---
@ WARNING: unprotected private key file! @ Permissions 0740 for '/home/lulei1 /. ssh/id_rsa 'are too open. it is recommended that your private key files are NOT accessible by others. this private key will be ignored. bad permissions: ignore
Many people often tell me that SSL deployment is becoming easier and easier now, in most cases, you can deploy an SSL certificate on various servers by using a search engine or by reading blogs written by some technical staff. Although SSL and HTTPS
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.