Skip to content

Conversation

@stejskalleos
Copy link
Contributor

@stejskalleos stejskalleos commented Sep 17, 2025

No description provided.

@github-actions github-actions bot added the Docs label Sep 17, 2025
@stejskalleos stejskalleos changed the title Fixes #38752 - Guide for HTTPs for DEV environment Fixes #38752 - Guide for HTTPs in DEV environment Sep 17, 2025
@stejskalleos
Copy link
Contributor Author

@arvind4501

@evgeni
Copy link
Member

evgeni commented Sep 23, 2025

I had a short dejavu, but then realized the last iteration of this was posted on Discourse, not in the dev docs:

https://community.theforeman.org/t/setting-up-ssl-for-running-foreman-on-https/36168

@ekohl
Copy link
Member

ekohl commented Sep 23, 2025

Thanks @evgeni for that post. I was looking for my notes on playing with Puma & HTTPS (without Apache in front). I think that's still something to investigate because we can look at using HTTPS out of the box in development.

@stejskalleos
Copy link
Contributor Author

I was looking for my notes on playing with Puma & HTTPS (without Apache in front).

Could you share your notes & insights?
I'm not opposed to the idea of excluding the httpd proxy, but I'm unsure what the benefits are compared to this approach.

I'll gladly investigate other options; any hints or suggestions are welcome.

@ekohl
Copy link
Member

ekohl commented Sep 29, 2025

It's in the post that was shared before: https://community.theforeman.org/t/setting-up-ssl-for-running-foreman-on-https/36168/5

Benefit is that you don't need anything external: no Apache to set up. By using https://rubygems.org/gems/localhost you can also avoid mkcert. In other words, no root access needed. That means we can even make it the default devel setup because we can make git clone && bundle install && bundle exec foreman start work (with https).

Downside is that there are a few minor code tweaks we'd need to make but I think they'd be minor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants