HTTPS (SSL connections)

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
dimitris.souflis
Posts:1
Joined: Thu Jan 17, 2019 3:42 pm

HTTPS (SSL connections)

Post by dimitris.souflis »

Following the WinCCOA Online Help steps, I'm trying to enable HTTPS to view my UI on a web client without getting the "Not Secure" warning from the web browser. The web client connects and I can see my UI but I would like to get rid of the security warning, if possible.

The Online Help mentions the following steps:
1. Create a new WinCC OA project on the server.
2. Extract the required certificate from the server: openssl s_client -connect localhost:443
3. Import the received certificate to the main keystore: bin\keytool -import -file <path to file> -keystore lib\security\cacerts -alias WinCC OA -storepass xxxx
4. Connect via browser.

I am stuck at Step 3, I am not sure how to fnd the <path to file> and what the storepass should be?

Thank you.

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: HTTPS (SSL connections)

Post by gschijndel »

I guess this documentation is a bit outdated and might not remove the security warning (self signed certificates might always give a security warning).

I guess the '<path to file>' should be the extracted certificate from step 2 and the storepass might be optional.

You might also extract the certificate with your browser and use the certificate manager from your OS to add it to your trusted certificates.

2 posts • Page 1 of 1