Skip to main content

Automating Certificates in OnDemand

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
0
People found this useful

Category

website

Skill Level

Intermediate