1

I use a gitblit server.

I can access it using: https://localhost:8443, but when accessing https://192.168.10.1:8443, which is the IP address of my PC, I see SSL Error.

Can someone please shed a light on what I might be doing wrong?

Vinoth Krishnan
  • 2,925
  • 6
  • 29
  • 34
Miron
  • 1,007
  • 2
  • 17
  • 31

1 Answers1

1

Certificates are tied to hostnames.

By default Gitblit GO generates a self-signed certificate for localhost. If you access Gitblit GO over https using a different hostname (like the IP address) the browser will complain about the hostname mismatch. It will also complain about the self-signed certificate even if you are accessing the server from the expected hostname. Both of these are standard security responses.

Your solution choices are:

  1. Add an exception for your self-signed cert
  2. Initiate a CSR (certificate signing request) and purchase a signed certificate through a Certificate Authority (Thawte, VeriSign, etc).
  3. Don't use https
James Moger
  • 1,721
  • 12
  • 12