ltm rule command X509 issuerΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



X509::issuer
       Returns the issuer of an X509 certificate.

SYNOPSIS
       X509::issuer CERTIFICATE

DESCRIPTION
       Returns the issuer of the specified X509 certificate.

       Syntax

       X509::issuer 

	    * Returns the issuer of the specified X509 certificate.

RETURN VALUE
       Returns the issuer of an X509 certificate.

VALID DURING
       ANY_EVENT

EXAMPLES
	when SERVERSSL_HANDSHAKE {
	  set ssl_cert [SSL::cert 0]
	  log local0. "Cert issuer - [X509::issuer $ssl_cert]"
	}


	when HTTP_REQUEST {
	  log local0. "Cert issuer - [X509::issuer $client_cert]"
	  if { [X509::issuer $client_cert] eq "someValue" } {
	    pool pool1
	  } else {
	    HTTP::redirect "https://some_other_site.com/"
	  }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-9.0.0 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)