Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Error: Missing required config value at 'app.https.certificate.cert' in 'app-config.yaml' #28011

Open
2 tasks done
adminy opened this issue Dec 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@adminy
Copy link

adminy commented Dec 6, 2024

📜 Description

I have a proxy (load balancer) sitting in front of the app component which does TLS termination.

so app.baseUrl should start with https:// despite it doing http server. I thought that if app.https.certificate is not set, then it automatically assumes its http. However instead its just throwing the fact that its missing this cert.

👍 Expected behavior

if app.https.certificate is not set, don't expect it, just because baseUrl says its https.

👎 Actual Behavior with Screenshots

baseUrl dictates whether app.https.certificate should be set or not.

👟 Reproduction steps

set up demo but with app.baseUrl as a https link.

📃 Provide the context for the Bug.

No response

🖥️ Your Environment

OS: Linux 6.12.1 - linux/x64
node: v20.16.0
yarn: 1.22.22
cli: 0.29.3-next.1 (installed)
backstage: 1.34.0-next.1

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

@adminy adminy added the bug Something isn't working label Dec 6, 2024
@camilaibs
Copy link
Contributor

Hi @adminy 👋🏻 , are you using yarn start in production to run the application? This configuration is only required for local development, which is why we are asking...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants