Public page not accessible during verification. (4. Verify installation)

HTTPS service failed to start. (made below changes in ood_portal.yml"
[root@midway3-login1 config]# grep -v “#” ood_portal.yml|more
listen_addr_port: 443

servername:ondemand.rcc.uchicago.edu
ssl:
- ‘SSLCertificateFile “/etc/pki/tls/certs/ondemand_rcc_uchicago_edu.pem”’
- ‘SSLCertificateKeyFile “/etc/pki/tls/private/ondemand.rcc.uchicago.edu-key.pem”’

[root@midway3-login1 ~]# /opt/ood/ood-portal-generator/sbin/update_ood_portal
Psych::SyntaxError:(/etc/ood/config/ood_portal.yml): could not find expected ‘:’ while scanning a simple key at line 15 column 1
/usr/share/ruby/psych.rb:455:in parse' /usr/share/ruby/psych.rb:455:in parse_stream’
/usr/share/ruby/psych.rb:399:in parse' /usr/share/ruby/psych.rb:324:in safe_load’
/usr/share/ruby/psych.rb:370:in load' /usr/share/ruby/psych.rb:671:in block in load_file’
/usr/share/ruby/psych.rb:670:in open' /usr/share/ruby/psych.rb:670:in load_file’
/opt/ood/ood-portal-generator/lib/ood_portal_generator/application.rb:47:in context' /opt/ood/ood-portal-generator/lib/ood_portal_generator/application.rb:185:in generate’
/opt/ood/ood-portal-generator/lib/ood_portal_generator/application.rb:205:in update_ood_portal' /opt/ood/ood-portal-generator/lib/ood_portal_generator/application.rb:309:in start’
-e:1:in `’
Run ‘update_ood_portal --help’ to see a full list of available options.
[root@midway3-login1 ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/httpd.service.d
└─ood-portal.conf, ood.conf
Active: active (running) since Tue 2024-03-12 10:45:28 CDT; 3min 37s ago
Docs: man:httpd.service(8)
Process: 3248324 ExecStartPre=/opt/ood/ood-portal-generator/sbin/update_ood_portal --rpm (code=exited, status=1/FAILURE)
Main PID: 3248336 (httpd)
Status: “Running, listening on: port 443, port 80”
Tasks: 213 (limit: 1233921)
Memory: 42.6M
CGroup: /system.slice/httpd.service
├─3248336 /usr/sbin/httpd -DFOREGROUND
├─3248498 /usr/sbin/httpd -DFOREGROUND
├─3248499 /usr/sbin/httpd -DFOREGROUND
├─3248500 /usr/sbin/httpd -DFOREGROUND
└─3248501 /usr/sbin/httpd -DFOREGROUND

Mar 12 10:45:28 midway3-login1.rcc.local update_ood_portal[3248324]: /usr/share/ruby/psych.rb:670:in open' Mar 12 10:45:28 midway3-login1.rcc.local update_ood_portal[3248324]: /usr/share/ruby/psych.rb:670:in load_file’
Mar 12 10:45:28 midway3-login1.rcc.local update_ood_portal[3248324]: /opt/ood/ood-portal-generator/lib/ood_portal_generator/application.rb:47:in context' Mar 12 10:45:28 midway3-login1.rcc.local update_ood_portal[3248324]: /opt/ood/ood-portal-generator/lib/ood_portal_generator/application.rb:185:in generat>
Mar 12 10:45:28 midway3-login1.rcc.local update_ood_portal[3248324]: /opt/ood/ood-portal-generator/lib/ood_portal_generator/application.rb:205:in update_> Mar 12 10:45:28 midway3-login1.rcc.local update_ood_portal[3248324]: /opt/ood/ood-portal-generator/lib/ood_portal_generator/application.rb:309:in start’
Mar 12 10:45:28 midway3-login1.rcc.local update_ood_portal[3248324]: -e:1:in `’
Mar 12 10:45:28 midway3-login1.rcc.local update_ood_portal[3248324]: Run ‘update_ood_portal --help’ to see a full list of available options.
Mar 12 10:45:28 midway3-login1.rcc.local systemd[1]: Started The Apache HTTP Server.
Mar 12 10:45:33 midway3-login1.rcc.local httpd[3248336]: Server configured, listening on: port 443, port 80

The default redhat page opens instead of the public page telling you to come back here and setup authentication.
Not sure what’s wrong here.
any help would be appreciated.

I made some changes. now service seems working but SSL certificate not work
[root@midway3-login1 rh]# /opt/ood/ood-portal-generator/sbin/update_ood_portal
No change in Apache config.
Completed successfully!
[root@midway3-login1 rh]# /opt/ood/ood-portal-generator/sbin/update_ood_portal^C
[root@midway3-login1 rh]# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/httpd.service.d
└─ood-portal.conf, ood.conf
Active: active (running) since Tue 2024-03-12 11:51:13 CDT; 3min 22s ago
Docs: man:httpd.service(8)
Process: 3257783 ExecStartPre=/opt/ood/ood-portal-generator/sbin/update_ood_portal --rpm (code=exited, status=0/SUCCESS)
Main PID: 3257798 (httpd)
Status: “Running, listening on: port 80”
Tasks: 278 (limit: 1233921)
Memory: 48.9M
CGroup: /system.slice/httpd.service
├─3257798 /usr/sbin/httpd -DFOREGROUND
├─3257799 /usr/sbin/httpd -DFOREGROUND
├─3257800 /usr/sbin/httpd -DFOREGROUND
├─3257801 /usr/sbin/httpd -DFOREGROUND
├─3257802 /usr/sbin/httpd -DFOREGROUND
└─3258170 /usr/sbin/httpd -DFOREGROUND

Mar 12 11:51:13 midway3-login1.rcc.local systemd[1]: Starting The Apache HTTP Server…
Mar 12 11:51:13 midway3-login1.rcc.local update_ood_portal[3257783]: No change in Apache config.
Mar 12 11:51:13 midway3-login1.rcc.local systemd[1]: Started The Apache HTTP Server.
Mar 12 11:51:13 midway3-login1.rcc.local httpd[3257798]: Server configured, listening on: port 80
[root@midway3-login1 rh]# /sbin/httpd -S
VirtualHost configuration:
: ondemand.rcc.uchicago.edu (/etc/httpd/conf.d/ood-portal.conf:1)
ServerRoot: “/etc/httpd”
Main DocumentRoot: “/var/www/html”
Main ErrorLog: “/etc/httpd/logs/error_log”
Mutex default: dir=“/etc/httpd/run/” mechanism=default
Mutex cache-socache: using_defaults
Mutex authdigest-opaque: using_defaults
Mutex watchdog-callback: using_defaults
Mutex proxy-balancer-shm: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex authdigest-client: using_defaults
Mutex lua-ivm-shm: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ldap-cache: using_defaults
Mutex authn-socache: using_defaults
Mutex ssl-cache: using_defaults
PidFile: “/etc/httpd/run/httpd.pid”
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name=“apache” id=48
Group: name=“apache” id=48
[root@midway3-login1 rh]#

Hello and welcome!

Have you set the ssl option to point to the correct locations in the ood_portal.yml? A sanitized ood_portal.yml would help with debugging this if you are able to share it.

The ssl option can be seen on this page here:
https://osc.github.io/ood-documentation/latest/reference/files/ood-portal-yml.html

Thanks @travert I fixed the SSL problem. now working with the cluster setup.