Recently received a task to convert a CER format security certificate to PEM format, originating from the LoadRunner script does not support CER format security certificates.
Because of the security certificate format a lot, pay attention to many, here only the transformation process described
First, the premise
Download good
1.vc6
2.activeperl5.8 (must be versio
...)Get a certificateRequest a certificate from an authoritative certification authorityUse this command to generate a csr:openssl req-newkey rsa:2048-new-nodes-keyout my.key-out MY.CSR the CSR to the authoritative certification authority, the authoritative certification authority to sign this, complete. Maintain a good CSR, You can also use the same CSR to request a new certificate when the certificate issued by the authoritative certification authority expires, and the key remains unchanged.O
(1) The certificate of the pilot push services, for example, we named "MAGIC_CERT.P12", note that the export will let you enter the password.(2) Re-export the key for the Push services certificate (Private key), for example, we named "MAGIC_KEY.P12":5. Convert the P12 file to a PEM file.(1) Convert two p12 files to a PEM format file, respectively.Open terminal, and you can convert by typing a command.The fi
Convert the Java Keytools certificate to Openssl PEM file or keytools to export the private key file, keytoolspem
The process and operation of requesting a certificate from a Godaddy user was mentioned above;
Because Incapsula is used for https protection, you need to customize the certificate when adding a website. You need to upload the private key information. Because the public key can be generated th
A certificate in pfx format needs to be converted to the CER format at work. The original practice is to first import the pfx format certificate to the browser, and then export it from the browser, however, this is too slow for batch operations. You can use the commands provided by OpenSSL to meet this requirement.
OpenSSL download: (Windows)
Http://dl.
123
openssl x509 -req -days 3650 -inserver.csr \-CA ca.crt -CAkey server.key \-CAcreateserial -out server.crt
After execution, the Cert directory SERVER.CRT is the certificate we need. Of course, if you want to display a secure green lock logo in a browser such as Google, the certificate issued by yourself is not good enough to be paid to a third-party authoritative certification authority (that is: The 4th step is to
The first article is casual. NET using OpenSSL generated pem key file [do e-commerce friends may need] http://www.bkjia.com/kf/201202/121297.html algorithm only supports 1024-bit key file import. NET. Add the 2048-bit support today:
Using System;Using System. Text;Using System. Security. Cryptography;Using System. Web;Using System. IO;
Namespace Thinhunan. Cnblogs. Com. RSAUtility{/// /// Author http://thin
Tags: Internet browser, password input, Linux technology Solution:Use OpenSSL to convert a pfx certificate to a PRM CertificateThis is a problem encountered when making bank payment. The other bank gave the pfx certificate. From the browser.Convert to PEM.1. Open the Browser Internet option, select the content, and click the certificate 650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/BA/
The last time and said GoDaddy health please certificate process and operation;Now because of using Incapsula protection to use to HTTPS, when adding a website needs a custom certificate, which needs to upload private key information, because the public key can be keytool generated, so need to export private key information;The steps to export are as follows:One: Install OpenSSL and Openssl-devel:Yum Instal
be converted to. Pem format:
Copy CodeOpenSSL pkcs12-clcerts-nokeys-out cert.pem-in CERT.P12
OpenSSL pkcs12-nocerts-out key.pem-in key.p12
6. If you need to not encrypt the key:
Copy CodeOpenSSL rsa-in key.pem-out Key.unencrypted.pem
7. Then you can merge two. pem files, the CK.PEM is the certificate required b
NET uses the pem key file generated by OpenSSL. There is very little information on the Internet (http://www.faqs.org/rfcs/rfc1421.html,rfc1421 ). The only information is wrong, so today I did my work, after reading the 610 bytes of the PEM key file one by one, we finally figured out its format.
Using System;Using System. Text;Using System. Security. Cryptography
packagemainimport ("Crypto/tls" "FMT") func main () {//loadx509keypair reads and parses a public/private key pair from a pair of files. The file must contain PEM-encoded data. _,err:=tls. Loadx509keypair ("./cert_dist.pem", "./key_dist2.pem") fmt. PRINTLN (Err)//x509keypair parses a public/private key pair from a pair of PEM-encoded data. _,err=tls. X509keypair (
Using system;using system.text;using system.security.cryptography;using system.web;using System.IO;namespace thinhunan.cnblogs.com.rsautility{public class Pemconverter {// Original address: Http://www.itstrike.cn/Question/-NET-generates-pem-using-OpenSSL-key-file. NET PEM key file generated using OpenSSL [1024 bits]
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.