robrichards/xmlseclibs

php warning

Opened this issue · 1 comments

WSSESoap.php assumes that the extensions assoc has a key subjectKeyIdentifier if it doesn't it spits out a warning. I believe I saw the same code in 2 places.

$x509 = openssl_x509_parse($objKey->getX509Certificate());
$keyid = $x509['extensions']['subjectKeyIdentifier'];

Do you have a sample certificate? Odd this key isn't included...