Trying to configure my server to run with https, but for some reason it fails. (I succesfully created a self_signed cert that worked) We have a wildcard certificate for our domain that I want to use.
Here are the step I have done so far.
1.Created a new keystore
keytool -genkey -alias *.mydomain.net -keyalg RSA -keysize 2048 -keystore keystore.jks MyPassword
2. Created the CSR Request
keytool -certreq -keyalg RSA -alias *.MyDomain.Net -file certreq.txt -keystore keystore
3. send this certreq.txt to main certificate provider.
4. Recieved the file
----BEGIN CERTIFICATE -----
ERW(D/YS(EY(EYDF(/ER
-----END CERTIFICATE
5. Saved this file as certreq.crt on my webserver (ubuntu)
6. Trying to import the certreq.crt file
keytool -import -trustcacerts -alias *.MyDomain.Net -file
certreq.crt -keystore keystore.jks
7. Modified the server-config.xml fil to the correct values.
8. Restarted the scm-server service
But NOTHING happen - I only get a This Page can't be displayed
Has anyone with succes tried to import a crt file into a jks keystore??