Fix support for friendlyName attribute in pkcs12.