MatthiasHertel / pattframe

Semesterprojekt für den Kurs: Patterns and Frameworks WS 16/17
0 stars 1 forks source link

ssl certificat #43

Open MatthiasHertel opened 7 years ago

MatthiasHertel commented 7 years ago

problem:

unsere java applikationen vertrauen nicht letsencrypt das zertifkat muss haendisch vom user importiert werden.

loesung:

https://docs.oracle.com/cd/E19509-01/820-3503/6nf1il6er/index.html

System.getProperties().put(SSLContextConfigurator.KEY_STORE_FILE, your_new_keystore_path);
System.getProperties().put(SSLContextConfigurator.TRUST_STORE_FILE, your_new_keystore_path);
System.getProperties().put(SSLContextConfigurator.KEY_STORE_PASSWORD, the_password_you_entered);
System.getProperties().put(SSLContextConfigurator.TRUST_STORE_PASSWORD, the_password_you_enterede);