Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8756049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:58:45+00:00 2026-06-13T13:58:45+00:00

I just bought an SSL certificate for my Heroku-deployed app. Following their instructions ,

  • 0

I just bought an SSL certificate for my Heroku-deployed app. Following their instructions, I downloaded the certificate and private key, saved them in server.crt and server.key files (with some RapidSSL CA deal thrown in there), and am now planning on pushing and deploying. The worry is, my github repo is public, and I feel like it’s a bad idea to push my “private” keys and certificates to a public site. Sort of defeats the purpose of the SSL, right?

But how else do I get it to work without publishing this info? I’m new to SSL and coding, and I just very much do not want to throw away the security I just spent good money on because I don’t understand how this all works.

Sorry if this question wasn’t very code-y. Just didn’t know where better to ask.

EDIT — I’m looking at Heroku docs right now that say to add a Heroku SSL Add-On, and then just type

heroku certs:add server.crt server.key

to get heroku to pick up on the files and use the SSL Certificate. But that doesn’t change the problem that I have two files in my PUBLIC repo with PRIVATE security info. Do I just add them to .gitignore or something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:58:46+00:00Added an answer on June 13, 2026 at 1:58 pm

    Heroku does not require you to push those two files to your repository. You can simply do heroku certs, and it will pick and upload them from your local folder. The repo isn’t involved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just need simple and working facebook app. I bought ssl for this and
I just bought a SSL Certificate for an parked domain that im going to
I've bought an SSL certificate (Geotrust chain, RapidSSL) and can't seem to deploy it
I've recently installed EV SSL certificate on my site, bought it from GlobalSign. I
I've just bought a new computer with Lion on it. I've downloaded and installed
I have just bought a new iMac. I then downloaded the latest SDK 5.0
I just bought a new computer and I am trying to clone my heroku
I just bought a WP theme: http://demo.wpzoom.com/evertis/ and I want to modify the Featured
I just bought a new MacBook Pro which comes with Snow Leopard 10.6.2 (Mac
I just bought and installed the Flash Builder 4 after having the Beta for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.