Jump to content

test with my own server (internal addr) does not work due to https errors


nanoco

Recommended Posts

Testing with my own server does not work, due to https certificate errors

 

https://testmy.net/latency?internal=1&addr=100.100.100.100

 

results in queries to 

 

https://100.100.100.100/b/img/blank.png?1607284675721

 

which do not work as https always needs a host and domain name.

 

However if trying with the host and domain name it also does not work,

an error is shown:

 

myhost.mydomain.com does not have a required resource in the document root. [timeout]

Link to comment
Share on other sites

You may need to add an exception 

 

If you navigate to https://100.100.100.100/ you should see something similar to this

 

1_cQyGAORXHxsrhs5KRRBOgQ.png

 

Click "proceed (unsafe)" -- you trust your own machine, right?  That's all the unsafe warning is about.

 

After you've accepted that you should be able to run that test.  

 

The best way to do it would be to configure a self-signed certificate.  https://www.vultr.com/docs/configure-apache-with-select-signed-tls-ssl-certificate-on-ubuntu-16-04 -- may have to do a search for a guide on your specific installation.

 

I'm seeing now that there's a bug.  You're supposed to be able to use http or https with that but for some reason it's locked on https.  It normally detected that and corrected for it but another edit I made later may have affected it.  So I'll look more closely later... just peeked in there and it looks like I'll have to dig deeper.

 

Self-signed cert for your localhost or the machine you're running your web server on will solve it for good.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...