Debugging pem.rearCertificateInfo method there is a problem with fetchCertificateData function, all certData is read correctly but when getting subject an other variables there is missing data.
Comparing with openssl command all info is being read fine
fake.pem.txt