Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions environ/vm-setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ CERN VMM virtual machine

A. Generate private key/certificate with the following command::

openssl req -new -subj "/CN=`hostname -f`" -out newcsr.csr -nodes -sha1
openssl req -new -subj "/CN=`hostname -f`" -out newcsr.csr -nodes -sha512 -newkey rsa:2048

B. Send the request to CERN CA: go to *New Host Certificate* on
https://ca.cern.ch web site and select host for which you request
https://gridca.cern.ch/gridca/ web site and select host for which you request
a certificate. Copy/Paste in the text box the content of file
newcsr.csr generated by OpenSSL and click Submit. Click Download
Certificate *Base 64 Encoded* and save the file in the same folder as
newcsr.csr. Then run the following set of commands::

sudo mv newcert.cer /etc/grid-security/hostcert.pem
sudo mv host.cert /etc/grid-security/hostcert.pem
sudo mv privkey.pem /etc/grid-security/hostkey.pem
sudo chmod 400 /etc/grid-security/hostkey.pem
sudo chown root:root /etc/grid-security/host{cert,key}.pem
Expand Down