Skip to content
Discussion options

You must be logged in to vote

Thank you, this last comment got me to put it all together.

With the url specified as my ipv4 address, it works. Specified by the hostname as the url it does not.

I'm guessing a name comparison is being performed. Specifically, because the error message says:

Error: TLS error: The host name did not match any of the valid hosts for this certificate (22)

That's not the whole story though: if I replace my fqdn with just the host name, I'm left with only the final error:

Error: TLS error: The certificate is self-signed, and untrusted (9)

Presumably, there is some path that is ok with self-signed certificates only if it is for an IP address. The issue is caused by specifying a domain name in t…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@Martchus
Comment options

@aerusso
Comment options

@Martchus
Comment options

@aerusso
Comment options

Answer selected by aerusso
@Martchus
Comment options

@Martchus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants