Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to apply for a free ssl certificate configure tomcat to change http to https

Shulou Source: shulou.com Published: 2022-06-01 13:56:58 10月01日 Update

Editor to share with you how to apply for a free ssl certificate to configure tomcat to make http https, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

1. Find the ssl certificate application (force programmers to apply for free)

[1] Log in to find the ssl certificate application

[2] Click to apply for a certificate, apply for a free one, and consider buying a wayward one.

[3] fill in the relevant information and verify the mailbox

Common name-your own domain name

Apply for mailbox-for verification

Certificate remark name-customize and take whatever you want.

Private key password-can be filled in or not (filled in by the landlord)

Belong to the project-all default projects

Ps: after filling in, there are three options for the next step. If your domain name is already bound to a server, select automatic, otherwise choose manual, and the last one is basically ignored.

[4] wait for verification after submission, a working day, depending on the mood of customer service. The following figure is verified successfully.

two。 Download the ssl certificate, remote server (window) and copy it over

[1] download the certificate after successful verification

The www.xuchenliang.club.jks in tomcat is used.

[2] remote your server (I use window, the technology is not good, linux can not play, the big god has mercy.)

Copy the file to the conf folder

3. Configure tomcat and restart successfully

[1] Edit server, remove the comments in this section, change the port number to 443 (the universal port of the certificate is 443), and save exit

[2] restart the server, log in to the URL, and https will be fine, isn't it easy (damn it, it's useless to have Baidu online for so long)

The above is all the contents of this article entitled "how to apply for a free ssl certificate to configure tomcat to change http into https". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Certificate verification application free server service configuration success article content domain name file port mailbox project login selection wayward but not three below Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Redmi Shulou Information Xiaomi Linux