In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article is about how to configure the https certificate in Tomcat, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
1. Apply for a free domain name
1.1 Baidu searches for Tencent SSL certificate and chooses the first one.
1.2 Click to buy now
1.3 choose free type for one year of use
Then click the yellow button on the page to apply for free quick.
Scan the Wechat code to log in.
After logging in, you will go to the certificate application page.
When filling in the information, you'd better remember to fill in the private key password. Tencent Cloud cannot retrieve the private key password, so remember clearly.
After completing the information, click next.
Select manual DNS verification
Manual DNS verification requires the addition of a DNS record of record type TXT
The data here is the text record to be added.
After the validation is added, you need to wait for CA verification, which is very quick.
After the CA verification is completed, you can download the certificate. The download file is the zip package of the domain name you applied for.
This article takes tomcat as an example. For others, please check Baidu yourself.
2. Tomcat configure https certificate
2.1Parse the compressed package you just downloaded and open the tomcat folder .pfx is the certificate you just applied for
2.2 create a new folder under the server's tomcat cert and put the certificate file under the cert folder
2.3 after the file is uploaded successfully, you need to modify the server.xml under the tomcat directory conf and add the port 443 configuration as follows:
The above is how to configure the https certificate in Tomcat. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.