Does anyone know of a way that I can use VBScript to get a copy of the Public
Key from a server using VBScript?
Mainly, this is what I want to do. I have an application which uses a Java
KEYSTORE to store its 'Trusted Certificates'. To get the server certificate,
you need to either grab the actual .CRT file from a server or launch a
browser to the server over HTTPS (https://<server_name>), save the
certificate and then import it. Here is where the problem arises. With
Windows Server 2008, the Firewall is enabled by default so grabbing the file
is not the easiest way to get the job done. What I am looking to do is some
how grab the TCP/HTTPS Stream which contains the certificate, save this
certificate stream to a Base64 CER/CRT file and then use the rest of my
script to actually import this to the Java Keystore.
I have searched high and low and maybe I am just not typing the proper
searches in. I can not find a whole lot in MSDN on this type of topic, ETC.
so I am here looking for some help.
If you need additional information, please do not hesitate to ask.
Thanks in advance,
-Stephen