[tor-commits] [oonib/master] Update TravisCI config with unattended SSL cert generation commands.

isis at torproject.org isis at torproject.org
Sat May 4 16:10:28 UTC 2013


commit 5808bfd2503eab85dc2fa0899b41feda0015fdef
Author: Isis Lovecruft <isis at torproject.org>
Date:   Sun Apr 21 03:18:35 2013 +0000

    Update TravisCI config with unattended SSL cert generation commands.
---
 .travis.yml |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e534630..dd07dcc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,8 +16,10 @@ install:
 script:
   - cp oonib.conf.example oonib.conf
   - openssl genrsa -des3 -passout pass:oonib -out private.key 4096
-  - openssl req -new -key private.key -passin pass:oonib -out server.csr
+  - openssl req -batch -passin pass:oonib -new -key private.key -out server.csr
   - cp private.key private.key.org
-  - openssl rsa -in private.key.org private.key
-  - openssl x509 -passin pass:oonib -req -days365 -in server.csr -signkey private.key -out certificate.crt
+  - openssl rsa -passin pass:oonib -in private.key.org private.key
+  - openssl x509 -req -days 365 -in server.csr -signkey private.key -out certificate.crt
+  - test -f "private.key.org" && rm -f private.key.org
+  - test -f "server.csr" && rm -f server.csr
   - bin/oonib





More information about the tor-commits mailing list