Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

how to confirm https #1955

Open
AsdrtChen opened this issue May 4, 2021 · 3 comments
Open

how to confirm https #1955

AsdrtChen opened this issue May 4, 2021 · 3 comments

Comments

@AsdrtChen
Copy link

  • Server OS: ubuntu 14.04 lts
  • Client OS: Windows 10]
  • Browser: chrome
  • Version : 5.1.3

i already add ssl conf in http-ssl / gehttpd.conf .
and i can open vh in https , like https://domanin.org/map1

but the beginning website http://domain.org . how do i setup gehttpd.conf & http-ssl.conf ?
Make the http://domain.org becomes https://domain.org ?

i have try to fix some conf option , but it not work . i think it is different with the normal apache conf .

Thanks

@tst-lsavoie
Copy link
Collaborator

The main things are:

  • Make sure your gehttpd.conf references your server.key and server.crt correctly
  • Make sure gehttpd.conf includes httpd-ssl.conf (it's commented out by default)
  • Make sure ServerName is set correctly in gehttpd.conf and httpd-ssl.conf
  • Make sure your Listen setting uses the correct port

@AsdrtChen
Copy link
Author

the 4 point already setup .
when i use https://domain.org
it will show "403 Condition Intercepted"
cloud you help me to find the mistake ?

@tst-lsavoie
Copy link
Collaborator

Apologies for the slow reply. Does anything show up in /opt/google/gehttpd/logs/error_log?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants