Forum Discussion

Philip_L's avatar
Philip_L
Icon for Nimbostratus rankNimbostratus
Sep 28, 2012

Upload and Install PFX

Hello,

 

This is my first post to this group so I appoligize if I am reposting. I could not find what I was looking for in a search.

 

I am currently trying to import a PFX file but I do not understand the Management.KeyCertificate.pkcs12_import_from_file Description. Where is it looking for the file I have placed. I try my desktop and get:Filenames may only contain the following characters: [A-Za-z][0-9].-_/"

 

So I put the file in the same directory as myc script and get:error:02001002:system library:fopen:No such file or directory"

 

Where am I going wrong?

 

 

 

$Domain = "www.test.com";

 

$certs = $(Get-F5.iControl).ManagementKeyCertificate.pkcs12_import_from_file('0',$Domain,"www.test.com.pfx","pass",$false);

 

No RepliesBe the first to reply