In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Xiaobian to share with you how to use jdk to generate jds type SSL security certificate, I believe most people still do not know how to share this article for your reference, I hope you have a lot of harvest after reading this article, let's go to understand it together!
# jdk generates jds certificate ##error keytool -genkeypair -alias "server" -keyalg "RSA" -validity "365" -keystore "/Users/da/client/src/main/resources"
keytool Error: java.io.FileNotFoundException: /Users/da/client/src/main/resources (Is a directory)
Solution:
Add keystore name
##Command keytool -genkeypair -alias "server" -keyalg "RSA" -validity "365" -keystore "/Users/da/client/src/main/resources/server.keystore"DadeMacBook-Pro:~ da$ keytool -genkeypair -alias "server" -keyalg "RSA" -validity "365" -keystore "/Users/da/client/src/main/resources/server.keystore" Enter keystore password: Enter new password again: What are your first and last names? [Unknown]: www.da.club What is the name of your organizational unit? [Unknown]: ai What is the name of your organization? [Unknown]: ai What is the name of your city or region? [Unknown]: gz What is the name of your province? [Unknown]: gd What is the two-letter country code for this unit? [Unknown]: cnCN= www.da.club, OU=ai, O=ai, L=gz, ST=gd, C=cn Is it correct? [No]: y Enter key password (press Enter if same as keystore password): DadeMacBook-Pro:~ da$##Note
* First name and last name must be entered, otherwise you will be asked to enter again later.
* After re-entering, you can enter directly what has been entered later, and the password is also
* Finally, y or yes can be
The above is "how to use jdk to generate jds type SSL security certificate" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to 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.