Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssl certificat #43

Open
4 tasks
MatthiasHertel opened this issue Jan 30, 2017 · 0 comments
Open
4 tasks

ssl certificat #43

MatthiasHertel opened this issue Jan 30, 2017 · 0 comments
Labels

Comments

@MatthiasHertel
Copy link
Owner

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

  • mittels openssl entweder ein selfsign zertifikat generieren
    oder mittels letsencrypt certbot ein neues zertifikat auf subdomain chat ausstellen
    https://github.com/certbot/certbot

  • das zertifikat mittels openssl x509 konvertieren

  • es in den key und truststore einpflegen

  • die javaapplikation zur runtime auf oben genannte trust und keystores umstellen.

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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant