nginx config TLS error

Started by newbee, September 11, 2021, 04:00:25 AM

Previous topic - Next topic
September 11, 2021, 04:00:25 AM Last Edit: September 11, 2021, 04:53:38 AM by newbee
Hi

I amhaving trouble connecting to VM (running on esxi vmware). I get the following error in the logs:


1 upstream SSL certificate verify error: (18:self signed certificate) while SSL handshaking to upstream, client: 192.168.1.11, server: cloud.ellsium.com, request: "GET / HTTP/2.0", upstream: "https://192.168.1.10:443/", host: "cloud.ellsium.com"

i have installed nextcloud vm, without setting up local certbot, instead using tls cert using snake oil and have tried an openssl cert on the local VM, if i do http only, local vm and opnsense nginx then nextcloud appears to work to a degree, certs dont give errors but no tls i gues. The main cert is managed by lets encrypt on opensense. I have a fixed IP and a registered domain. I can load nextcloud and it appears to be fine except using it on WAN side breaks so im guessing the SSL is still not correct. Is there a way to connect the opnsense letencrypt cert to the VM?

hi
upstream SSL certificate verify error: (18:self signed certificate) while SSL handshaking to upstream
if there is no need to verify the upstream cert, then you can simply disable this option:
Edit Upstream (advanced mode "on")->TLS: Verify Certificate

Hi,

I took off this option. Still getting black opnsense request denied and the same error. Thank you for help its been a month of this jumping back and forth between ha proxy and nginx. cant find the issue.

Ok this worked after i set the upstream server port back to 443. Wow thank you!