Jump to content

Recommended Posts

Posted

To those that know how to write an autoIT script, i would like to create an EXE that installs the MITM certificate on to users devices that visit the school.

 

I've got a bat script already:

 

@echo off

echo msgbox "Click OK to install Certificate" > "%temp%\Confirm.vbs"
wscript.exe "%temp%\Confirm.vbs"

certutil -addstore root *nameofcert*.cer > NUL

echo msgbox "Certificate Import Successful" > "%temp%\Cert.vbs"
wscript.exe "%temp%\cert.vbs"

 

but this means the certificate needs to be downloaded along with the BAT file and in the same location. What i would like is the certificate to be downloaded and installed from our internal web server or our external website.

 

I've tried putting in the http:// URL of the certificate that guests visit when they join the network however this doesn't download or install the certificate.

 

Thanks.

  • 3 months later...
Posted

Is the link to the cert internal or can it be reached externally? If you can provide an external link I will make an attempt to Download it and install it for you and post the code here.

the confirm.vbs and cert.vbs; are those just msg box scripts ?

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...