crt
2 TopicsiControl and Powershell - key import and certificate import
I am attempting to script out importing a SSL crt/key pair into a new F5 running 11.3. I'm using iControl within Powershell. I've successfully used iControl and Powershell for other tasks on this new F5. Below is my sample code which doesn't seem to be working. Any ideas/suggestions? $SSLDir = Path to folder containing crt and key files on my machine $url = "www.myurl.com" $crtfilename = $url + ".crt" $keyfilename = $url + ".key" $keyfile = $SSLDir + "\" + $keyfilename $crtfile = $SSLDir + "\" + $crtfilename (Get-F5.iControl).ManagementPartition.Set_active_partition("Common") (Get-F5.iControl).ManagementKeyCertificate.key_import_from_file(0,$url,$keyfile,$false) (Get-F5.iControl).ManagementKeyCertificate.certificate_import_from_file(0,$url,$crtfile,$false)591Views0likes16CommentsConvert to pkcs 12 format
Hi All, I created a csr and have received the certs from CA. I will be using those on the F5. But the server team needs the cert and key in pkcs12 format. I have the below: certificate file -> server.crt key file -> server.key (this is already in the F5, downloaded it from the BIGIP) root CA -> CACert.csr How can I convert it to pkcs in F5? I tried the below but does not work openssl pkcs12 -export -out server.p12 -inkey server.key -in server.crt -certfile CACert.crt Can anyone please help on this? Thanks, Aditya299Views0likes1Comment