Generating a Certificate Signing Request for Tomcat server
Step 1: Generate the Keystore and the Private Key (use JDK 1.3.1 or later).
Execute the following command:
Unix: $JAVA_HOME/bin/keytool -genkey -keysize 2048 -alias [your_alias_name] -keyalg RSA -keystore [your_keystore_filename]
It will prompt for the following X.509 attributes of the certificate:
Country Name (C) - two-letter code: PL
State or Province (S): Malopolska
Locality or City (L): Krakow
Organization (O) - name of company: You Ltd
Organizational Unit (OU) - optional department of organization unit making the request: IT
Common Name (CN) - the Host + Domain Name: YourDomain.com
Specify a password. The default value will be "changeit".
Step 2: Generate a CSR
Create CSR using the following command:
keytool -certreq -keyalg RSA -alias [your_alias_name] -file certreq.csr -keystore [your_keystore_filename]
Save your CSR file you will need it after ordering SSL certificate.
cyber_Folks S.A. – Cookie settings
Do you like good cookies? We too! Some cookies are required for the website to function properly. Also accept additional cookies related to service performance, social networking and marketing. Cookies are also used to personalize ads. Thanks to them, you will get the best experience of our website, which we are constantly improving. The consent granted voluntarily may be withdrawn or modified at any time. More information about the cookies used can be found in our privacy policy. If you prefer to specify your preferences precisely - see the types of cookies below.