Automating Certificates in OnDemand

Submission Number: 369
Submission ID: 5441
Submission UUID: 36c29fd5-99d5-4646-974b-0231177a4588
Submission URI: /form/resource

Created: Wed, 07/09/2025 - 12:22
Completed: Wed, 07/09/2025 - 12:22
Changed: Thu, 07/10/2025 - 13:08

Remote IP address: 130.18.90.203
Submitted by: Huston Rogers
Language: English

Is draft: No
Approved: Yes
Title: Automating Certificates in OnDemand
Category: Website
Skill Level:
Intermediate (305)

Description:
Bit of a trick. A number of HPC Centers utilize automated certificate updates
that rely on an alias in the httpd config file. The portal takes anything in
the ssl block and passes them directly into the generated config. We can use
the configuration item ‘custom_vhost_directives’ to add the alias, and
then that alias exists in the final config.

i.e.

-'Alias /.well-known /var/www/ood/public/.well-known'

becomes

Alias /.well-known /var/www/ood/public/.well-known

and now your automated cert bot can find ./well-known


Link to Resource:
- Open OnDemand Alias in Portal Trick (https://discourse.openondemand.org/t/how-to-insert-an-alias-into-apache-ood-portal-conf/2259)

Tags:
open-ondemand (249), xml (423), encryption (386)

Domain:
Open OnDemand (901)

Would you like to associate this resource with an Affinity Group?: Customizing the OOD Backend (912)
Private: No