selfhosted-apps-docker
selfhosted-apps-docker copied to clipboard
After backup/restore of the VM running this app, can't make work new domain
Hi, I installed first time this tool and was working great. I created multiple VM, and all is working fine. Haven't touched it for years, and now I am a bit rusty on how to fix things after a problem occured which is the following after trying to install a home PBX on a new VM.
I use cloudflare CNAME pbx.mydomain.com to forwarding to my internal VM ubuntu machine where I installed caddy (192.169.1.19)
On a different VM (192.168.1.14) I installed a Ubuntu VM with fusionpbx PBX.
In Caddyfile i added
pbx.{$MY_DOMAIN} {
reverse_proxy 192.168.1.14
}
But when I point to pbx.adre.group I recieve an
Error 525 SSL handshake failed
Any help?
p.s. I ran this
xxx@caddy19:~$ curl -svo /dev/null https://pbx.mydomain --connect-to ::87.xx.xx.xx 2>&1 | egrep -v "^{.*$|^}.*$|^* http.*$" * Connecting to hostname: 87.xx.xx.xx
* Trying 87.xx.xx.xx:443...
* TCP_NODELAY set
* Connected to 87.xx.xx.xx (87.xx.xx.xx) port 443 (#0)
* ALPN, offering h2
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_CHACHA20_POLY1305_SHA256
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=pbx.adre.group
* start date: Dec 13 14:08:06 2021 GMT
* expire date: Mar 13 14:08:05 2022 GMT
* subjectAltName: host "pbx.adre.group" matched cert's "pbx.adre.group"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x55b700b1e9b0)
> GET / HTTP/2
> Host: pbx.adre.group
> user-agent: curl/7.68.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Connection state changed (MAX_CONCURRENT_STREAMS == 250)!
< HTTP/2 500
< server: Caddy
< content-length: 0
< date: Mon, 13 Dec 2021 17:01:57 GMT
<
* Connection #0 to host 87.18.222.75 left intact
claudio@caddy19:~$