Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionMartin Bacovsky
2012-02-13 10:59:32 UTC
Description of problem:
When I try to start Pulp's Qpid broker with allowed SSL connections it can't connect to the port. Defalt port for the QPIDD SSL communication is 5674.
As recommended by sealert
semanage port -a -t amqp_port_t -p tcp 5674
did the trick.
Version-Release number of selected component (if applicable):
katello-0.1.230
How reproducible:
Allways
Steps to Reproduce:
# add qpid-broker private key file to the nss db
openssl rand -base64 24 > /etc/katello/pk12_password-file
openssl pkcs12 -in /etc/pki/tls/certs/qpid-broker.crt -inkey /etc/pki/tls/private/qpid-broker.key -export -out broker.pfx -password "file:/etc/katello/pk12_password-file"
pk12util -i broker.pfx -d /etc/pki/katello/nssdb/ -w /etc/katello/pk12_password-file -k /etc/katello/nss_db_password-file
# install the missing qpid ssl packages
yum install -y qpid-cpp-client-ssl qpid-cpp-server-store qpid-cpp-server-ssl
# fix the QPID configuration
cat >> /etc/qpidd.conf <<EOF
require-encryption=yes
ssl-require-client-authentication=yes
ssl-port=5674
ssl-cert-db=/etc/pki/katello/nssdb
ssl-cert-password-file=/etc/katello/nss_db_password-file
ssl-cert-name=broker
EOF
# Make sure /etc/pki/katello/nssdb and its content and /etc/katello/nss_db_password-file is readable by qpidd user otherwise qpidd won't start
#restart qpidd
service qpidd restart
lsof -i -P |grep qpidd
Actual results:
qpidd 20522 qpidd 11u IPv4 1606688 0t0 TCP *:5672 (LISTEN)
Additional info:
You can get the expected results by turning selinux permissive or running
semanage port -a -t amqp_port_t -p tcp 5674
Expected results:
qpidd 20522 qpidd 11u IPv4 1606688 0t0 TCP *:5672 (LISTEN)
qpidd 20522 qpidd 14u IPv4 1606689 0t0 TCP *:5674 (LISTEN)