diff --git a/lib/win32/certstore/store_base.rb b/lib/win32/certstore/store_base.rb index 3ed2c2f..01aff63 100644 --- a/lib/win32/certstore/store_base.rb +++ b/lib/win32/certstore/store_base.rb @@ -98,7 +98,7 @@ def cert_get(certificate_thumbprint) cert_pem = get_cert_pem(thumbprint) cert_pem = format_pem(cert_pem) verify_certificate(cert_pem) - cert_pem + build_openssl_obj(cert_pem) end # Listing certificate of open certstore and return list in json