Thanks for the reply, Jan. The cert file is where it used to be and it looks to me that the install-devel step modifies some parts of /var/www/html, but then copies back pub.
The certificate looks to be exactly the same as it was before the install-devel step and is where /etc/rhn/rhn.conf expects it to be. I have checked that the setfacl commands executed correctly, and have even tried regenerating the certificate, but to no avail. A rollback and fresh install of spacewalk and the git repo exhibits the same behaviour. Any ideas? Many thanks, Laurence [root@lrochfor-swdev-1 ~]# grep ssl /etc/rhn/rhn.conf db_ssl_enabled = web.ssl_available = 1 osa-dispatcher.osa_ssl_cert = /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT [root@lrochfor-swdev-1 ~]# ls -l /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT -rw-r--r--. 1 root root 5465 Jun 3 14:08 /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT [root@lrochfor-swdev-1 ~]# ls -l /var/www/html.old/pub/RHN-ORG-TRUSTED-SSL-CERT -rw-r--r--. 1 root root 5465 Jun 3 14:08 /var/www/html.old/pub/RHN-ORG-TRUSTED-SSL-CERT [root@lrochfor-swdev-1 ~]# diff /var/www/html.old/pub/RHN-ORG-TRUSTED-SSL-CERT /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT [root@lrochfor-swdev-1 ~]# diff /var/www/html.old/pub/RHN-ORG-TRUSTED-SSL-CERT /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT Jan Dobes writes: > If it happens after running ant install-devel, the script probably > breaks something in path /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT > > According to file java/buildconf/build-webapp.xml line 159 it renames > /var/www/html to /var/www/html.old . (I have no idea how this works, > this development workstation setup code should be reviewed.) > > Try to find correct path to RHN-ORG-TRUSTED-SSL-CERT and update > parameter 'osa-dispatcher.osa_ssl_cert' in /etc/rhn/rhn.conf to point to > it. Or copy the certificate into expected path. > > On 6.6.2016 11:52 Laurence Rochfort wrote: >> Hello, >> >> I'm trying to setup the full developer workstation as per the wiki at >> https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup. >> >> However, after I run the sudo ant install-devel step, I receive the >> error below on starting osa-dispatcher. >> >> Any suggestions would be much appreciated. >> >> Starting spacewalk services... >> Initializing jabberd processes ... >> Starting router: [ OK ] >> Starting sm: [ OK ] >> Starting c2s: [ OK ] >> Starting s2s: [ OK ] >> Starting tomcat6: [ OK ] >> Waiting for tomcat to be ready ... >> Starting httpd: [ OK ] >> Starting osa-dispatcher: Spacewalk 10779 2016/06/03 15:07:32 +01:00: >> ('Invalid SSL certificate:', Unable to read file >> /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT) >> [ OK ] >> Starting rhn-search... >> Starting cobbler daemon: [ OK ] >> Starting RHN Taskomatic... >> Done. >> >> >> >> Cheers, >> Laurence. >> >> Laurence Rochfort | Principal Oracle Linux Developer >> Phone: +44 118 924 5629 | Mobile: +44 7867 908 605 >> Oracle Linux >> >> Building 520, Oracle Parkway | Reading | Berkshire | RG6 1RA | United Kingdom >> >> _______________________________________________ >> Spacewalk-devel mailing list >> Spacewalk-devel@redhat.com >> https://www.redhat.com/mailman/listinfo/spacewalk-devel >> -- Cheers, Laurence. Laurence Rochfort | Principal Oracle Linux Developer Phone: +44 118 924 5629 | Mobile: +44 7867 908 605 Oracle Linux Building 520, Oracle Parkway | Reading | Berkshire | RG6 1RA | United Kingdom _______________________________________________ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel