How to? Dealing with untrusted certificates

Oct 14, 2015
4
0
#1
Hello all,

I'd like to be able to script the testing of various internal HTTPS web servers that are using self-signed certs for very basic responsiveness using "copy https://serveraddress.com > nul" and then looking at the errorlevel.

Some of these servers are secured with self signed certs so TCC prompts with a "Would you like to continue?" prompt on these servers.

Can this be overridden so I can I create a smooth test batch for a lot of different servers? I've looked for a flag or switch to disable this warning but I'm coming up empty.

Thanks
 
May 20, 2009
235
1
54
ITALY
#2
Hello all,

I'd like to be able to script the testing of various internal HTTPS web servers that are using self-signed certs for very basic responsiveness using "copy https://serveraddress.com > nul" and then looking at the errorlevel.

Some of these servers are secured with self signed certs so TCC prompts with a "Would you like to continue?" prompt on these servers.

Can this be overridden so I can I create a smooth test batch for a lot of different servers? I've looked for a flag or switch to disable this warning but I'm coming up empty.

Thanks
This is just an idea, I did not test it, but what happens if You import the certificate into Your system?

Regards

Rodolfo Giovanninetti
 
Oct 14, 2015
4
0
#3
Thanks for the reply, Rodolfo.

I did try that and TCC still seems to not trust them. I was able to work around the issue with an "echo y | copy https://serveraddress.com > nul" to dismiss the prompt. Not the most elegant and if I'm working through a mix of trusted and untrusted sites in a loop it won't work well. But, I have smoothed it out a bit.