diff options
| -rwxr-xr-x | examples/self.x509 | 4 |
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) | |||
| 49 | crt:setPublicKey(key) | 49 | crt:setPublicKey(key) |
| 50 | crt:sign(key) | 50 | crt:sign(key) |
| 51 | 51 | ||
| 52 | -- pretty-print using openssl command-line utility. | 52 | print(crt:text()) |
| 53 | io.popen("openssl x509 -text -noout", "w"):write(tostring(crt)) | ||
| 54 | |||
