Commit 9d515ce6 authored by Filippo Mortari's avatar Filippo Mortari
Browse files

add dummy subject for certificate creation to avoid prompt

parent 4342daf3
......@@ -4,5 +4,5 @@ mkdir -p files/etc/ssl/{certs,private}
openssl genrsa -out files/etc/ssl/private/xnat.key 1024
openssl req -new -key files/etc/ssl/private/xnat.key -out /tmp/xnat.csr -subj "/C=US/ST=Denial/L=Springfield/O=Dis/"
openssl x509 -req -days 3650 -in /tmp/xnat.csr -signkey files/etc/ssl/private/xnat.key -out files/etc/ssl/certs/xnat.crt
#rm /tmp/xnat.csr
rm /tmp/xnat.csr
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment