Jump to content

Need help to install certificates in firefox


Recommended Posts

Hello i want to make a script that will install a certificate in firefox automaticly...

I found this website (https://support.astaro.com/support/index...ing_HTTPS_signing_Certificate_)

Can anyone transform this code please so i can run it in autoit on a gpo logon script ?

:: save as installScript.cmd

FOR /F "tokens=*" %%A IN ('dir /B "%APPDATA%\Mozilla\Firefox\Profiles\*.default"') DO set FIREFOX_PROFILE_DIR=%%A

certutil.exe -A -n AstaroCA -t "CT,C,C" -d "%APPDATA%\Mozilla\Firefox\Profiles\%FIREFOX_PROFILE_DIR%" -i %1

I then run the command like this

installScript.cmd certificate.cer

Thanks !

Edited by Jac
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...