version 1.2, 2005/03/26 09:03:19
|
version 1.4, 2005/04/08 05:46:01
|
|
|
echo "L = Reading" >> %PEGASUS_CONFIG_DIR/ssl.cnf | echo "L = Reading" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
echo "O = The Open Group" >> %PEGASUS_CONFIG_DIR/ssl.cnf | echo "O = The Open Group" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
echo "OU = The OpenPegasus Project" >> %PEGASUS_CONFIG_DIR/ssl.cnf | echo "OU = The OpenPegasus Project" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
echo "CN = `uname -n`" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
echo "CN = `host \`hostname\`|cut -d\" \" -f1`" >> %PEGASUS_CONFIG_DIR/ssl.cnf |
chmod 400 %PEGASUS_CONFIG_DIR/ssl.cnf | chmod 400 %PEGASUS_CONFIG_DIR/ssl.cnf |
chown root %PEGASUS_CONFIG_DIR/ssl.cnf | chown root %PEGASUS_CONFIG_DIR/ssl.cnf |
fi | fi |
| |
%OPENSSL_BIN/openssl req -x509 -days 356 -newkey rsa:2048 \ |
%OPENSSL_BIN/openssl req -x509 -days 3650 -newkey rsa:2048 \ |
-nodes -config %PEGASUS_CONFIG_DIR/ssl.cnf \ | -nodes -config %PEGASUS_CONFIG_DIR/ssl.cnf \ |
-keyout %PEGASUS_PEM_DIR/key.pem -out %PEGASUS_PEM_DIR/cert.pem \ | -keyout %PEGASUS_PEM_DIR/key.pem -out %PEGASUS_PEM_DIR/cert.pem \ |
2>>%PEGASUS_INSTALL_LOG | 2>>%PEGASUS_INSTALL_LOG |
|
|
chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE | chmod 444 %PEGASUS_PEM_DIR/%PEGASUS_SSL_TRUSTSTORE |
fi | fi |
| |
|
/usr/lib/lsb/install_initd /etc/init.d/tog-pegasus |
|
|
echo " To start Pegasus manually:" | echo " To start Pegasus manually:" |
echo " /etc/init.d/tog-pegasus start" | echo " /etc/init.d/tog-pegasus start" |
echo " Stop it:" | echo " Stop it:" |