gitblit icon indicating copy to clipboard operation
gitblit copied to clipboard

Add Certificate Chain

Open farzadrabiee opened this issue 4 years ago • 1 comments

The default Certificate Hierarchy on the serverKeyStore.jks file is like below:

Gitblit Certificate Authority |_ _ localhost

I have a trusted p12 certificate file that contains the private and public keys in it. I'd to add it as the Certificate Chain on Gitblit Certificate Authority.

I am wondering how can I do it?

farzadrabiee avatar Dec 09 '21 05:12 farzadrabiee

Wait, aren't running Gitblit on Azure App Service? I thought Azure terminates TLS at the entry level and it never reaches your App.

Anyway, your can import your certificates into the key store, e.g with the keytool (doc) command on the command line, or on your PC with a GUI like KeystoreExplorer. Give the certificate an identifying alias and in the Gitblit configuration set the server.certificateAlias setting to that same alias name.

flaix avatar Dec 09 '21 10:12 flaix

Close as Done

flaix avatar Oct 16 '22 15:10 flaix