Jump to content

Can't Autoit Security Warning In Certificate Installation(*.pem)


Recommended Posts

Hey, I am almost done with my automation for certificates. But I have one mayor problem left. When I have finished the installation of cacert.pem I get a Security Warning saying

You are about to install a certificate from a certification authority (CA) claiming to represent:

..

..

..

Do you want to install this certificate?

Yes No

Link to comment
Share on other sites

so what is your question?

if you're asking if YOU want to install this certificate then you should better ask yourself cause its your pc your messing up if something happens

if you wanted to ask another question maybe you should ask it so even i do understand :)

Link to comment
Share on other sites

Ups I forgot the rest of my topic :)

When I have finished the installation of cacert.pem I get another window Security Warning Saying:

You are about to install a certificate from a certification authority (CA) claiming to represent:

..

..

..

Do you want to install this certificate?

Yes No

My problem is that I dont know how to get autoit to press the button yes to end the installation, Because I dont know how to identify this security window. Macrogenerator does not Identify the security Warning window ether.

Link to comment
Share on other sites

  • Moderators

Or use WinList() + Opt('WinSearchChildren', 1)/ Class (classname=Class) + Opt('WinTitleMatchMode', 4)... maybe something like that if none of the above suggestions work.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

I can't get it working. Still problems with the Security Warning

i Tried

$CLVItem = ControlListView("Examples","Hyperlinks","SysListView321","FindItem","cacert.pem.crt")

ControlListView("Examples","Hyperlinks","SysListView321","SelectClear")

ControlListView("Examples","Hyperlinks","SysListView321","Select",$CLVItem)

WinWait("Guiden Certifikatimport","Importen blev udført.")

ControlClick("Guiden Certifikatimport","Importen blev udført.","Button1")

WinWait("Certifikat","Generelt")

ControlClick("Certifikat","Generelt","Button5")

winwaitactive("Security Warning", "")

controlclick ("Security Warning", "", "Button1", "left", 1)

and the next thing I tried was:

WinWait("Guiden Certifikatimport","Importen blev udført.")

ControlClick("Guiden Certifikatimport","Importen blev udført.","Button1")

WinWait("Certifikat","Generelt")

ControlClick("Certifikat","Generelt","Button5")

WinList()

Opt('WinSearchChildren', 1)/ Class (classname=#32770)

Opt('WinTitleMatchMode', 4)

but this gave me a syntax error please help a new bee to find out how to autoit this security warning

Link to comment
Share on other sites

  • 7 months 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
 Share

  • Recently Browsing   0 members

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