fabiolb / fabio

Consul Load-Balancing made simple
https://fabiolb.net
MIT License
7.27k stars 616 forks source link

cert: Cannot load certificates from http #705

Open zzxap opened 5 years ago

zzxap commented 5 years ago

my setting is proxy.cs=cs=mycs;type=http;cert=https://xx.xx.com/.well-known/acme-challenge/cert/

{ "Addr": ":8097", "Proto": "https", "ReadTimeout": 0, "WriteTimeout": 0, "CertSource": { "Name": "mycs", "Type": "http", "CertPath": "http://xx.xx.x.x:8082/cfu/cert/file", "KeyPath": "", "ClientCAPath": "", "CAUpgradeCN": "", "Refresh": 3000000000, "Header": null, "VaultFetchToken": "" }, "StrictMatch": false, "TLSMinVersion": 0, "TLSMaxVersion": 0, "TLSCiphers": null, "ProxyProto": false, "ProxyHeaderTimeout": 0 }

the cert is in the folder file/cert.crt and file/privkey.key

connect https://gateway_domain:8097/gw/fff not work ERR_SSL_PROTOCOL_ERROR