Forum Discussion

ryan_defeo_3162's avatar
ryan_defeo_3162
Icon for Nimbostratus rankNimbostratus
Jul 06, 2017

Enhanced key usage and machine cert auth

Is it possible to leverage machine cert authentication and have it read the enhanced key usage field within a certificate to determine resource allocation? I am sure there is a way to write an irule for this functionality, I just don't want it to get messy. Thanks!

 

1 Reply

  • Hi,

     

    You can retrieve the full certificate in a session variable : session.check_machinecert..cert.cert

     

     

    You can find more info here.

     

    Then you can parse the certificate using an irule or maybe with pure TCL in the VPE

     

    Yann