You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you guys think?
I feel like it's a small addition, but it helps a lot with local https testing. I always forget what command to use to generate an ssl certificate locally and have to look it up and copy-paste it every time.
Something like: bin/rails dev:ssl
Should create ssl certificate files under /config/ssl/dev maybe and sets config.force_ssl = true in development.rb
This will help in:
making it trivial to create an ssl certificate to be used for local development.
standardize the path of the dev ssl certificates.
And if we go a step further maybe rails should do this during the "rails new" process and use SSL by default for development.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What do you guys think?
I feel like it's a small addition, but it helps a lot with local https testing. I always forget what command to use to generate an ssl certificate locally and have to look it up and copy-paste it every time.
Something like:
bin/rails dev:sslShould create ssl certificate files under
/config/ssl/devmaybe and setsconfig.force_ssl = trueindevelopment.rbThis will help in:
And if we go a step further maybe rails should do this during the "rails new" process and use SSL by default for development.
I'm willing to work on this if it gets approved.
Beta Was this translation helpful? Give feedback.
All reactions