Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does openssl create and generate https certificates?

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article shows the specific operation of openssl to create and generate https certificates, the code is concise and easy to understand, if you encounter this question in your daily work. I hope you can find a solution to your questions through this article.

Environment: ubuntu 16.04

OpenSSL 1.0.2g 1 Mar 2016

To facilitate the creation of a 10-year certificate, if you need to modify 3650 to the number of days you want

Preparation part 1. Create the directory mkdir-p / tmp/https_crt & & cd / tmp/https_crt2. Create the folder and file mkdir-p. / demoCA/newcerts touch. / demoCA/index.txt echo 00 >. / demoCA/serial certificate answer file needed to generate the certificate

Cat > https.conf

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report