Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

CRYPTO::encrypt import key or cert from SSL Certificate List

Hello,

I use the CRYPTO::encrypt funktion an it works very well. But it is needed to write the private key in the iRule. If there a way to import the private key or certificate direct from "SSL Certificate List" or read in as file?

Thanks for your help.

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

I rules can't access SSL certificates stored on the device. It is possible however to store keys in a subtable table and retrieve use this to for encrypting/decrypting etc.

set keyValue [table lookup -subtable $keyStore $keyName]

You will need to devise a method of pushing your keys to the device such as sending a SOAP request to a dedicated virtual server which will parse the request and add the add the key information to the session table.

0