Commit 4342daf3 authored by Filippo Mortari's avatar Filippo Mortari
Browse files

add dummy subject for certificate creation to avoid prompt

parent e3df417e
......@@ -2,7 +2,7 @@
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
openssl req -new -key files/etc/ssl/private/xnat.key -out /tmp/xnat.csr -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com"
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