I noticed that the SveaPayment app container kept restarting in docker. And at least I thought that I had set up my local dev certs the correct way, but this message showed up in the logs of the app:
The solution was to generate a new one with the command below, in the same path as your docker-compose file, and then restart the containers. Thanks Anton Marklars for the solution.
Read more at Mårten Wahlunds Github-repo About Litium, dev-certs and Docker