Problem redirecting http to https

Hello everybody,
I’ve recently installed OOD over a Rocky Linux 8.6 and configured /etc/ood/config/ood_portal.yml to point to my certificates like this:

servername: webfrontal.uca.es
ssl:

  • ‘SSLCertificateFile “/etc/pki/tls/certs/webfrontal.uca.es.pem”’
  • ‘SSLCertificateKeyFile “/etc/pki/tls/private/webfrontal.uca.es.key”’
  • ‘SSLCertificateChainFile “/etc/pki/tls/certs/Sectigo.pem”’

and restarted Apache services.
But the portal still does not redirect http to https. Need I some more configuration?
OOD version: 3.0.0
Thanks in advance.

Hello and welcome!

Did you run the update_ood_portal command before the restart of apache?

I did it without result. But now I’ve rebooted the whole computer and it seems to work now.
Although now I’m getting a 500 error which I’ll have to look into.
Thanks for your help.

Ok. In the future just remember to run that command each time you make a change to the ood_portal.yml so that the values you set there can be written to the correct config files for apache and your auth, and then do the restarts for apache and ood.