robrichards / xmlseclibs

A PHP library for XML Security
BSD 3-Clause "New" or "Revised" License
387 stars 181 forks source link

php warning #198

Open greggreenhaw opened 5 years ago

greggreenhaw commented 5 years ago

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'];

liamdennehy commented 5 years ago

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