when I try to clone on bitbcuket server only have the HTTP Option and on my server.xml I configured the ssl: server.xml :
<Connector port="8443"
maxHttpHeaderSize="8192"
SSLEnabled="true"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false"
disableUploadTimeout="true"
useBodyEncodingForURI="true"
acceptCount="100"
scheme="https"
secure="true"
clientAuth="false"
sslProtocol="TLS"
redirectPort="443"
proxyName="dev-services.domainname.es"
proxyPort="443"
keystorePass="keystorePassword"
keyPass="keyPassword"
keyAlias="le-55fd1606-33ed-47fd-b23c-11443dc6f5ec"
keystoreFile="/etc/nginx/cert/bitbucket.jks" />
we have a nginx running and configuration is as follows:
server {
listen 443;
server_name dev-services.domainname.es;
ssl on;
ssl_certificate /etc/nginx/cert/cert.crt;
ssl_certificate_key /etc/nginx/cert/cert.rsa;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location /
{
proxy_pass https://localhost:8443;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded- Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr; proxy_redirect off;
}
}
All works fine but when we try to make git clone It shows: server certificate verification failed. CAfile: /etc/nginx/cert/ca-certificates.crt CRLfile: none
And when we go to clone on the bitbucket server we only have http (inside has https)
NOTE: we have a wildcard certificate "*.domainname.es"