Certificates

Jul 25, 2017
1 min read
Jun 30, 2023 16:33 EEST

Create a Private key and CSR with Windows

We use the tool keytool from a java sdk installation. Open a terminal and execute:

d:
cd .\Archibus\Apps\webcentral\tools\tomcat\conf
mkdir keys
cd keys
keytool -genkey -alias tomcat -keyalg RSA -keysize 2048 -keystore gvw677_internal_epo_org.jks -dname "CN=gvw677.internal.epo.org,OU=AMPD44, O=EPO, L=Munich, ST=Bayern, C=DE" -validity 365
keytool -certreq -alias tomcat -file gvw677_internal_epo_org.csr -keystore gvw677_internal_epo_org.jks