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
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.
, all sorts of strange. No matter what the suffix is, it's a container, and companies or organizations call it different. For example, a container containing only "trusted public key" is stored as a. truststore file.Use the Jdk\bin directory of Keytool.exe to view, import, export, delete, modify passwords and other operations. You can add a password to the JKS container and enter it correctly to manipulate the key in this container. There is also a password of the concept of different, is stored
A certificate that exists as a file typically has these types of forms: 1. Certificate with private keyDefined by the public key Cryptography Standards #12, the PKCS#12 standard, which contains the form of a certificate in the binary format of the private key and the secret key, with PFX as the certificate file suffix name. 2. Binary-encoded certificateThere is no private key in the certificate, DER encodes the certificate file in binary format, and
Code:public class Certificationhelper {public static bool Importpfx (string Certpath, String certpass) { Create a Collection object and populate it using the PFX file x509certificate2collection collection = New X509Certificate2Collection (); try {collection. Import (Certpath, Certpass, X509keystorageflags.persistkeyset); foreach (X509Certificate2 cert in collection) {X509store store = new X509store (); Stor
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;
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.