Forum Discussion
newbief5_162606
Jun 29, 2016Cirrus
SSL cert alias
We are in the process of generating new SSL certs with a new domain- I wanted to know how to retrieve the alias that are associated with the SSL certs.
- Jun 29, 2016
Which one are you looking for - the second common name (SAN), or alias of the certificate? To see the Subject Alternative Name(s) (SAN), you can use openssl and grep for DNS. Alternatively, just import the certificate to BigIP and open the certificate object in GUI
(System > File Management > SSL Certificate List)
OpenSSL
Cert SAN:
Cert Alias:openssl x509 -noout -text -in /path-to-cert-file.pem | grep DNS
openssl x509 -noout -alias -in /path-to-cert-file.pem
newbief5_162606
Jun 29, 2016Cirrus
Thanks! I was able to get it work using this syntax:
openssl x509 -in /config/filestore/ftextiles_d/Common_d/certificate_d/:Common:[www.test.com.crt_1](http://www.test.com.crt_1 -alias -noout
`Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects