Red Hat Bugzilla – Bug 1113205
[Doc] Add the full path into the command to be certain it succeeds
Last modified: 2015-04-17 02:09:21 EDT
Description of problem: 2.4.2.1. Enable SSL on the RabbitMQ Message Broker If you follow steps 1-3 exactly, the user will not be in the correct directory and step 4 will not work properly. 1) # mkdir /etc/pki/rabbitmq 2) # echo SSL_RABBITMQ_PW > /etc/pki/rabbitmq/certpw 3) # chmod 700 /etc/pki/rabbitmq # chmod 600 /etc/pki/rabbitmq/certpw step 4): # certutil -N -d /etc/pki/rabbitmq -f certpw The result of doing this step is: [root@localhost ~]# certutil -N -d /etc/pki/rabbitmq -f certpw No password file "certpw" exists. Invalid password. [root@localhost ~]# ls /etc/pki/rabbitmq/ cert8.db certpw key3.db secmod.db Either 1) Add a second step to step one to make sure the user is in the correct directory or 2) use the path to certpw file. I would recommend using the path like below. # certutil -N -d /etc/pki/rabbitmq -f /etc/pki/rabbbitmq/certpw https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/html/Installation_and_Configuration_Guide/sect-Install_and_Configure_the_RabbitMQ_Message_Broker.html
There are many more occurances on the same page and should all be fixed like I said before, or now that I see more cases of this, I think maybe we should go with my first idea and just tell the user to cd to the directory.
Assigning to Bruce Reeler, as the author for SSL issues.
Assigning to Deepti for review.
Update available at: http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/html-single/Installation_and_Configuration_Guide/index.html#sect-Install_and_Configure_the_RabbitMQ_Message_Broker