How to add IP addresses as a SAN attribute

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add IP addresses as a SAN attribute

L0 Member
Hi all I am new here so please forgive any mistakes. Currently we are using CURL to script creating and retrieving certificates. My question is how to I add the IP address of a device to the SAN in the JSON file?Currently we are adding SAN DNS names with the line"TypeName" : "2", "Name" : "AAA123.example.com"If I switch the AAA123.example.com with the IP Address it shows up in the Venafi cert but I have read that FireFox and Chrome my not like that..
2 REPLIES 2

L3 Networker

Hello Daniel,

 

As you know, IP addresses and alternate hostnames are "Subject Alternate Names" or SAN within a certificate. How these are formatted in the CSR differs between the types of CA that you are using. For example, Microsoft uses 'ipaddress' while other CA may use 'ip'.so I believe this is dependent on the CA that will be signing the certificate.

 

I hope this helps. Please feel free to reply back with any questions or comments.

 

Thank you,

Tim Sawyer

@Tim Sawyer​  Thank you for the response.

Sorry with everything going on this post slipped my mind. The issue was that by using line below

TypeName" : "2", "Name"

Cyber-Ark was expecting some alpha-numeric SAN name. But by using a strictly numeric IP address. Cyber-Ark was having sporadic issues adding it to the finalized signed cert. But after some investigation I found that Cyber-Ark does like the line

"TypeName" : "7", "Name" :

for adding an IP address to the SAN list. This so far as worked for us

  • 419 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!