Error logging into the web portal after enabling apache2 SSL

Hi all,

I have got a OOD portal running with ubuntu20.04 and built a slurm cluster. I am trying to submit a slurm job using “job composer”. As this page says, I got a permission error which I assume I got because I did not enable apache SSL.

Then I followed this link to get an SSL and added its path into /etc/ood/config/ood_portal.yml.
After that, when I browse into the OOD portal, the website says the connection is not secure.

In /var/log/apache2/_error_ssl.log, I see

[Fri Jan 20 16:41:23.619652 2023] [auth_openidc:error] [pid 336634:tid 140480234899200] [client 49.127.45.32:53453] oidc_util_http_call: curl_easy_perform() failed on: https://<domain name>:5554/.well-known/openid-configuration (SSL certificate problem: self signed certificate)
[Fri Jan 20 16:41:23.619771 2023] [auth_openidc:error] [pid 336634:tid 140480234899200] [client 49.127.45.32:53453] oidc_provider_static_config: could not retrieve metadata from url: https://<domain name>:5554/.well-known/openid-configuration

Is there a solution to get around this SSL problem?
Thanks

Hi Yusuke.

Thanks for your post. I would recommend using this link to install the SSL for Open OnDemand.

https://osc.github.io/ood-documentation/latest/installation/add-ssl.html

Thanks,
-gerald

Hi Gerald,

Thanks for the reply, I got an SSL certificate using letsencrypt and that fixed the issue.

Yusuke

Hi Yusuke.

That’s great news. Thanks for the follow-up.

I will mark this as completed.

Thanks,
-gerald