chiark / gitweb /
bin: Produce output PEM files with text descriptions of their contents.
[ca] / bin / add
diff --git a/bin/add b/bin/add
index 1c2ae81f385320563ed251e503633b072bc621b3..6bd128bd45b1bcb761db3c877c5285dd5d36652b 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 }