ObjectiveI read a lot of information, only to write this article, if there are errors, please put forward the reader in time.In general, when you use Remote Desktop to connect to Windows Server, there is always a warning prompt, 1Figure 1This warning occurs because the certificate is a self-signed certificate for the server and our client is not recognized, so I
any directory, any folder name
/home/gouxu/gx/key/ 2. Go to the newly created folder key
cd/home/gouxu/gx/key/ 3. Generate CA Private key
OpenSSL genrsa-out Ca.key 2048
Parameter description:
GENRSA: Generate RSA secret key;
The key file generated by-out Ca.key is Ca.key;
2048: Secret key length is 2048. 4. Generating a CA's certificate with the CA private key
OpenSSL
enc to encrypt a file look:# Openssl enc-des3-a-salt-in/etc/fstab-out/tmp/fstab. cipher encryption# Cat/tmp/fstab. cipher# Openssl enc-d-des3-a-salt-in/tmp/fstab. cipher-out/path/to/fstab. cipher decryption
Digital certificate:The certificate format is usually x509 digital certificate format, and other formats such as
OpenSSL official recommendation Win32 executable version download:Http://www.slproweb.com/products/Win32OpenSSL.htmlCa.key CA Private Key:
OpenSSL genrsa-des3-out Ca.key 2048
Make the decrypted CA private key, but this step is generally not required:
OpenSSL rsa-in ca.key-out Ca_decrypted.key
CA.CRT CA Root
First, install OpenSSL open OpenSSL.exe require Administrator privileges
Second, input genrsa-out Myself.key 1024,myself.key The name of the key at random, 1024 for the key length
Generates Myself.key files.
Third, input Req-new-x509-key myself.key-out myself.cer-days 365-subj/cn=www.mysite.com
Myself.key is the name of the key that was generated before, Myself.cer is the generated certificate, 36
It is mainly used for outputting certificate information , can also sign certificate request file, self-signed, convert certificate format , etc.The OpenSSL x509 tool does not use the settings in the OpenSSL configuration file, bu
Self-signed certificates are used in a wide range of applications, such as testing, development, local or cloud Web sites (such as Microsoft Azure Web site). This article describes a method for quickly generating a self-signed certificate using PowerShell on Win8.1 and Win2012 R2, automatically exporting the private key, and automatically installing it under Loca
Self-signed certificates are widely used for testing, development, and use on local or cloud websites (such as Microsoft Azure Web Site. This article describes how to use PowerShell to quickly generate a self-signed certificate on Win8.1 and Win2012 R2, automatically export the private key, and automatically install it under LocalMachineMy and LocalMachineRoot. E
An error has been prompted at the self-signed CA certificate:[email protected] ssl]# OpenSSL ca-in master.csr-out master.crt-days 365Using configuration From/etc/pki/tls/openssl.Cnfcheck that the request matches the Signaturesignature okerror:serial number have already been issued, check the Database/serial_file for corruptionthe matching entry have the following
using OpenSSL to generate SHA-256 self-signed certificates that are available for IIS
Well, 2017 iOS will start to force ATS, so all the sites, APIs, Web pages, resource paths and so on need to use TLS1.2 above standards.Self-signed certificates have not been able to meet the requirements. Therefore, in the formal environment to apply for the purchase of OA
1. Environment
1) Ubuntu14.04
2) Docker 1.12.0
2, in the Ubuntu14.04 virtual machine installed Docker 1.12.0, this experiment to create two virtual machines, The IP is 192.168.110.137 and 192.168.110.138, where 192.168.110.138 's hostname is ip-192-168-110-138.ec2.internal, and the hosts in 192.168.110.138 The following records are added to this
192.168.110.138 ip-192-168-110-138 ip-192-168-110-138.ec2.internal
3. Environment configuration
1) Configuration of 192.168.110.138
Add the followin
holder of the certificate, the public key of the holder, and the signature of the signer, among others
Note: In cryptography, the number is a standard, the specification of public key authentication, certificate revocation list, authorization credentials, credential path verification algorithm.
Steps to create a self-signed
After you enable Apache Mod_ssl, you need a certificate to function properly. Wrote a script to manipulate it. The first thing to make sure is that there are OpenSSL on the machine.
Copy Code code as follows:
#!/bin/sh
#
# The root directory for SSL certificate output.ssloutputroot= "/etc/apache_ssl"If [$#-eq 1]; ThenSsloutputroot=$1Fiif [!-D ${ss
Tools:OpenSSL SSL's open source implementation, almost all the market on the encryption Libcrypto: Universal encryption Library, any software to implement the Encryption function link call this library Libssl:tls/ssl Crypto library OpenSSL: Command line tool multi-purpose tool Implement private certification Authority subcommands: GENRSA [-out filename] [-passout arg] [numbits]generate an RSA private key generates an RSA private key (the public key is
rsa_private.key-passout pass:111111-out Pkcs8_private.key
Where-passout specified the password, the output of the PKCS8 format key is encrypted form, PKCS8 by default DES3 encryption algorithm, the content is as follows:
-----BEGIN ENCRYPTED Private key-----
Base64 encoded Data
-----END ENCRYPTED PRIVATE Key-----
Use the-nocrypt parameter to output a non-encrypted PKCS8 key, as follows:
-----BEGIN Private Key-----
Base64 encoded Data
-----END Private Key-----
Iii. generating a self-
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 (parameter DES3 is the encryption algorithm, of course, you can choose the other algorithm you think is safe). You need to enter a password whenever you need to read this file (the commands or APIs provided b
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
If you are performing a fresh installation that includes an external Platform services controller, first install the Platform Services controller and replace the VMCA root certificate. Next, install additional services or add ESXi hosts to your environment. If you are performing a fresh installation that includes an embedded platform Services Controller, replace the VMCA root certificate before you add an E
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.