0

I pushed a version of my .NET app to Elastic Beanstalk via GitHub actions. The app fails to start and I see this SSL cert error:

Unhandled exception. System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.

Now, normally locally I run the dev-certs command and the app can start fine, but I don't know if it's safe or recommended to do this in my Github action (this is for a dev app, not prod). Are there any guides on best way to add a SSL cert to my Elastic Beanstalk instance?

Thank you all

1
  • How did you start the app there? I don’t think the certs are necessary during deployment as they are only designed for the development environments. Commented Mar 17 at 4:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.