Hi,<br><br>I am trying to configure ipsec using certificates.<br><br>I had generated openssl certificates with an ipv6 address (2002::5010:1) as subjectAltName.<br><br>--------------------------------------------------------------<br>
<p>
# openssl x509 -in cert.pem -noout -text</p>
.<br>.<br><p>
X509v3 Subject Alternative Name:<br>
</p><p>IP Address:2002:0:0:0:0:0:5010:1</p><p>.</p><p>.</p><p>--------------------------------------------------------------</p><p><br></p>
But for some unknown reason, first 4 bytes of this ipv6 is being parsed as an ipv4 address.<br><br>Logs:<br><br>-----------------------------------------------------------------------------------------------------------------------------------------------------<br>
<br>charon: 16[LIB] L8 - ipAddress:<br><br>charon: 16[LIB] => 16 bytes @ 0x100a2028<br><p>charon: 16[LIB] 0: 20 02 00 00 00 00 00 00 00 00 00 00 50 10 00 01 ...........P...<br>
</p><p>charon: 16[LIB] '32.2.0.0'</p><br><br><br><br># ipsec stroke listcerts<br>
<p>
List of X.509 End Entity Certificates:<br>
</p>
<p>
altNames: 32.2.0.0</p>
-----------------------------------------------------------------------------------------------------------------------------------------------------<br><br clear="all"><br>Any suggestion on how to proceed?<br><br clear="all">
Regards, <br>Divya <br><br><br><br>
<br>