-
Notifications
You must be signed in to change notification settings - Fork 10
SSL TLS with local or private PKI
Phillipus edited this page May 22, 2025
·
1 revision
If you connect to your Git server through HTTPS, you might rely on a local or private PKI. In this case, you can make it work using one of these two solutions:
- Import your certificate into Archi's JRE (Java Runtime)
- Make Archi use your OS's certificate
If some of your models rely on SSL/TLS certificates, you have can add them to the Archi\jre\lib\security\cacerts:
- Open a Windows command shell (you can use the
WIN Rkeyboard shortcut to open the "Run" box, entercmdand press Enter) - Go the the
Archi\jre\binfolder - Enter the following command:
.\keytool -keystore ..\lib\security\cacerts -importcert -alias <alias> -file <certificate_filename>, where<alias>is a short description of the certificate to be added, and<certificate_filename>is the full path to the certificate. - Type the password for the keystore at the “Password” prompt and press Enter. The default Java password for the
cacertsfile is “changeit”.
Be sure to import all of the certificates in the certificate chain, including root and intermediate certificates.
On Windows, you need to add the following parameters in the Archi.ini file so that the JRE will use the specified Certificate Manager:
-Djavax.net.ssl.trustStore=NUL
-Djavax.net.ssl.trustStoreType=WINDOWS-ROOT
On Mac, if you are using the Apple JCA Provider (should be the case) then set it to KeychainStore, i.e.
-Djavax.net.ssl.trustStore=NUL
-Djavax.net.ssl.trustStoreType=KeychainStore
If you value and use Archi please consider making a donation. Thanks!
- FAQ
- Why coArchi2?
- Getting Started
- Getting into the Details
- Actions
- Connection, Authentication & Security
- Command Line Interface (ACLI)
- Troubleshooting and Logging
- Technical Considerations
- Known Issues
- Roadmap
- Change Log
- Developer Notes