And, you can use jesse/certificate_extensions_fact...
# puppet-enterprise
v
And, you can use jesse/certificate_extensions_facts module, it will convert certificate to facts