How do I securely store my p12 file in rails? My production web app will be in Heroku. The file is used to sign some documents dynamically.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Storing the p12 contents in an environment variable should be sufficiently secure on Heroku. This way it’s at least not available in your code base or through your database.
You can setup Heroku environment variables like this: