In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Create. Keystore
[root@centos apache-tomcat-6.0.37] # keytool-genkey-alias tomcat- keyalg RSA-keystore / root/tomcat/apache-tomcat-6.0.37/conf/.keystore enter the keystore password: enter the new password again: what is your first and last name? [Unknown]: free4lab what is the name of your organizational unit? [Unknown]: free4lab what is the name of your organization? [Unknown]: free4lab what is the name of your city or region? [Unknown]: beijing what is the name of your state or province? [Unknown]: what is the two-letter country code of beijing [Unknown]: is CNCN=free4lab, OU=free4lab, O=free4lab, L=beijing, ST=beijing, C=CN correct? [no]: y enter the master password (press enter if the password is the same as keystore): [root@centos apache-tomcat-6.0.37] # cat conf/.keystore
Then modify the tomcat configuration file server.xml
In this way, browser access is relatively secure, the browser and the server shake hands with asymmetric encryption, then negotiate the key of symmetric encryption, and then carry out relatively fast symmetric encryption transmission.
The instant ciphertext is intercepted in the network transmission, because the symmetric key cannot be obtained, so the http api is secure!
Summary
The above is the method of configuring https in linux tomcat introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave a message for me, and the editor will reply you in time. Thank you very much for your support to the website!
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.