[Solved] Generating Certificate for HTTPS

Unimus support forum
Post Reply
joairamd
Posts: 1
Joined: Thu Jun 30, 2022 4:49 pm

Thu Jun 30, 2022 4:54 pm

Hello,

We have recently installed Unimus and are getting to it via HTTP and would like to use HTTPS, I saw that in the documentation there is a way to generate a self-signed certificate in order to connect to Unimus via HTTPS but I am unable to generate the self-signed certificate. Writing down the final line in powershell outputs an error:

"%KEYTOOL%" -genkey -alias unimus -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore unimus.keystore.p12 -validity 3650

Unimus is installed in a 2016 Windows server. Additionally in the Unimus path C:\Program Files\Unimus ther is only these items:

jre8 folder
nssm.exe
Unimus.exe
Unimus.l4j.ini
uninstaller.exe

Please let me know if you need additional information.
Vik@Unimus
Posts: 121
Joined: Thu Aug 05, 2021 6:35 pm

Thu Jun 30, 2022 5:10 pm

Hello,

I believe the issue boils down to the path when setting up Java home folder and the path in the first line which was pointing at jre folder instead of jre8. We fixed the path and it is pointing at the correct folder now, so feel free to give it another try

https://wiki.unimus.net/display/UNPUB/U ... igned+cert
Post Reply