cancel
Showing results for 
Search instead for 
Did you mean: 

Client ssl certification bulk installation

Tanmay01
Nimbostratus
Nimbostratus

I am using this command to bulk install certificates in .pfx and it works but it installs in Common Partition. How can i install in a perticular partition?

Currently i am using following command.

for certname in /var/tmp/certs/*.pfx; do tmsh install sys crypto pkcs12 $(basename "$certname" .pfx) consumer ltm from-local-file "$certname" passphrase 1q2w3e4r5t6yF; done

1 ACCEPTED SOLUTION

Hi Tanmay01,

Can you try this command?

for certname in /var/tmp/certs/*.pfx; do tmsh -q -c "cd /partitionname; install sys crypto pkcs12 $(basename $certname .pfx) consumer ltm from-local-file $certname passphrase 1q2w3e4r5t6yF"; done

View solution in original post

2 REPLIES 2

Hi Tanmay01,

Can you try this command?

for certname in /var/tmp/certs/*.pfx; do tmsh -q -c "cd /partitionname; install sys crypto pkcs12 $(basename $certname .pfx) consumer ltm from-local-file $certname passphrase 1q2w3e4r5t6yF"; done

Tanmay01
Nimbostratus
Nimbostratus

That worked. Thank You.