Under the Windows platform, if you want to parse a X509 certificate file, the most straightforward way is to use Microsoft's CryptoAPI. But under the non-Windows platform, you can only use the powerful open source cross-platform library OpenSSL.
OpenSSL is an open source SSL implementation. The simplest and most important application based on the OpenSSL directive is to use Req, CAs, and X509 to issue a certificate.OpenSSL provides command-line options and interactive two ways to perform
Using OpenSSL utilities
An OpenSSL command line takes the following form:
openssl utility arguments
For example:
openssl x509 -in OrbixCA -text
Each Command is individually described in this Appendix. To get a list of the arguments
The OpenSSL Certificate Action command generates a self signed certificate# Generate a key, your private key, OpenSSL will prompt you to enter a password, you can enter, you can not lose,# Enter the words, each time you use this key to enter the
OpenSSL genrsa-out server.key 1024 (no password required)OpenSSL Req-new-key server.key-out SERVER.CSRCat SERVER.CSRPaste the above text into http://dc2.sankuai.info/certsrv/request Advanced Certificate request---->web Server certificate, OK,
From: http://liujy1111.blog.163.com/blog/static/49739712008842372293/
However, when I follow the steps above, the HTTPS service will not start, and the certificate file will always be prompted that it does not exist or the format is invalid. After a
Document directory
Apply for Certificate
View certificates
Test Certificate
Calculate MD5 and SHA1
Apply for Certificate
SSL is often used in authentication, data encryption, and other applications. To use SSL, we have our own password
About OpenSSL
SSL is an abbreviation for the Secure Socket Layer protocol, which provides covert transmission over the Internet. Netscape Company introduced the SSL protocol standard at the same time as the first web browser, there are
Original from: http://liujy1111.blog.163.com/blog/static/49739712008842372293/
However, I follow the steps above, the HTTPS service does not start, always prompts the certificate file does not exist or the format is illegal. It's been a long time,
OpenSSL req is used to generate a certificate request for a third party authority CA to issue and generate the certificate we need. The Req command can also invoke the X509 command for format conversion and display information such as Text,modulus
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.