bin: Produce output PEM files with text descriptions of their contents.
[ca] / bin / add
diff --git a/bin/add b/bin/add
index 1c2ae81..6bd128b 100755 (executable)
--- a/bin/add
+++ b/bin/add
@@ -77,7 +77,7 @@ db transaction {
 
     ## Copy the file away.
     fresh-temp "$CERTROOT/tmp" tmp {
-      file copy $file $tmp
+      exec openssl req -text -in $file -out $tmp
     }
     cleanup { file delete $tmp }