How can I import server certificate to System tab > Java Trust cacerts store ? How can the Import option be enabled?
I can do it from command prompt running as administrator.
keytool -import -v -trustcacerts -file "C:\Users\xxxxx\Desktop\server.cer" -keystore "%JAVA_HOME%\lib\security\cacerts" -keypass changeit -storepass changeit
I am looking for a easier UI way of doing the import that could be suggested to our customer.
Thanks!
Import server certificate to System Trust Root CA Certificates
-
- Posts: 13
- Joined: 27 Jul 2020, 12:48
Import server certificate to System Trust Root CA Certificates
- Attachments
-
- Capture.PNG (69.38 KiB) Viewed 5352 times
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: Import server certificate to System Trust Root CA Certificates
The view in your screenshot is a read only view.
To manage the certificates you can go to the open webstart settings and choose the tab "certificates"
The view is almost identical to the one in your screenshot and the import button is enabled.
To manage the certificates you can go to the open webstart settings and choose the tab "certificates"
The view is almost identical to the one in your screenshot and the import button is enabled.
-
- Posts: 232
- Joined: 27 Mar 2020, 09:55
Re: Import server certificate to System Trust Root CA Certificates
Also be advised that importing a certificate into the system store has only limited effect.
This is due to the fact that OWS will launch a different JVM for your application. So the certificates of the system JVM will not apply.
Therefore it is recommended to import custom certificates into the user store
This is due to the fact that OWS will launch a different JVM for your application. So the certificates of the system JVM will not apply.
Therefore it is recommended to import custom certificates into the user store