Having trouble to get wildcard domain of gitlab pages to work over https. I followed instructions at https://docs.gitlab.com/ee/administration/pages/2.
Http access is ok, but when using https I get an ERR_SSL_PROTOCOL_ERROR
in Chrome. When doing curl, I get following error:
~$ curl -v https://xxx.wildcard.domain
* Rebuilt URL to: https://xxx.wildcard.domain/
* Trying 1.1.1.2...
* TCP_NODELAY set
* Connected to xxx.wildcard.domain (1.1.1.2) port 443 (#0)
* Unknown SSL protocol error in connection to xxx.wildcard.domain:-9838
* Closing connection 0
curl: (35) Unknown SSL protocol error in connection to xxx.wildcard.domain:-9838
I’m using Gitlab CE 10.1.0 omnibus installation on CentOS 6.8. My pages config is:
pages_external_url "https://wildcard.domain/"
nginx['listen_addresses'] = ['1.1.1.1']
gitlab_pages['external_http'] = ['1.1.1.2:80']
gitlab_pages['external_https'] = ['1.1.1.2:443']
gitlab_pages['cert'] = "/etc/gitlab/ssl/wildcard.domain.crt"
gitlab_pages['cert_key'] = "/etc/gitlab/ssl/wildcard.domain.key"
pages_nginx['redirect_http_to_https'] = true
pages_nginx['enable'] = false
Any hints how to troubleshoot this?