Sign in to follow this  
Followers 0
bitman

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

9 posts in this topic

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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


[center]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.[/center]

Share this post


Link to post
Share on other sites

thanks I will try it when I come home

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Hi all,

I have the same problem with a Client Authentication window.

Its so urgent

Do you have any suggestions?

Thanks

Share this post


Link to post
Share on other sites

i tried

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

Opt('WinTitleMatchMode', 4)

with classname=32770 it didn't giveme a syntax error but still the function does not works

Please help

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0