If you’re creating a debugging post, please include the following info:
- Are you running your app locally or is it deployed?
- Locally run - Share the full text of the error message (not a screenshot).
- 2024-05-15 16:27:32.547 Cert file ‘/sage.pem’ does not exist. - Share the Streamlit and Python versions.
- Streamlit 1.34, Python 3.11.7
I am fairly certain I am providing the correct directory location. The application folder is here:
E:\Sage
I placed my .pem and .key files in that same folder so it is in the same application area.
This is the batch file I am running my streamlit application with:
python -m streamlit run "E:\\Sage\\Sage Assistant - Sidebar.py" --theme.primaryColor "#5c0f8b" --theme.backgroundColor "#ffffff" ui.hideTopBar true --server.runOnSave true --server.port 443 --server.sslCertFile "sage.pem" --server.sslKeyFile "sage.key"
pause
I’ve even tried “/sage.pem” and “/sage.key”.
Here is a picture of my folder.