Solution: erropeningcaprivatekey.../CA/private/cakey

Source: Internet
Author: User
Today, I learned how to generate the TLS Certificate under Postfix. When I was issuing the certificate myself, the current error occurred while executing the command opensslca-outself_signed_cert.pem-infilesmailreq.pem saying that the cakey under CA could not be found. pem was searched on the Internet, and no one gave the answer after searching for a long time. Please feel free to explore it yourself. First

Today, I learned how to generate the TLS Certificate under Postfix. When I issue the certificate myself, when I execute the command openssl ca-out self_signed_cert.pem-infiles mailreq. in pem, the current error occurs: The cakey under the CA cannot be found. pem was searched on the Internet, and no one gave the answer after searching for a long time. Please feel free to explore it yourself. First

Today, I learned how to generate the TLS Certificate under Postfix. When I issue a certificate, When I execute the command

Openssl ca-out self_signed_cert.pem-infiles mailreq. pem
The current error occurs.



Indicates that cakey. pem under CA cannot be found

So I searched the internet, and no one gave the answer after searching for a long time. I suggest you do it yourself.

First, check where the CA is located,


Enter the/etc/pki/CA directory and find the private directory. However, there is nothing left blank.

Try another CA file and find that it is not a directory but an executable file.

After opening the file, you can use this script to generate a CA


Use the following command to create


In this way, the following content is generated under the/etc/pki/Ca directory.


Run the command in the/etc/pki/CA/newcerts directory.

Openssl ca
.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.