aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xexamples/self.x5094
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/self.x509 b/examples/self.x509
index 31d6058..b2d14f9 100755
--- a/examples/self.x509
+++ b/examples/self.x509
@@ -49,6 +49,4 @@ crt:setBasicConstraintsCritical(true)
crt:setPublicKey(key)
crt:sign(key)
--- pretty-print using openssl command-line utility.
-io.popen("openssl x509 -text -noout", "w"):write(tostring(crt))
-
+print(crt:text())