Rest api angular frontend pointing to spring boot elasticbeanstalk url needing a self signed certificated

0

Hello team,

My project is a rest api with angular FRONTEND with AMPLIFY that uses the https protocol and a BACKEND spring boot in ELASTIC BEANSTALK that uses http with which it produces mixed content and the application crashes when logging in.

To solve it, I have created a self-signed certificate with OpenSSL but when I import it, when I validate in the CERTIFICATE BODY field, the alert "The provided certificate body is not in a valid PEM format" appears. As much as I look for the solution, I can't find it. I would need your advice to find the expected solution.

I use the domain name in the frontend with amplify but in the backend I am not interested and for this reason, following the tutorials, what I do is create the self-signed ssl/tls certificate to import it and include it in the load balancer. But I've been trying to make a valid certificate for a couple of days and the same thing always happens to me, if I do it automated with ACM X509 I don't understand the certificate, it does accept it but where is the CA and everything else? That's why I think it doesn't work for me. By the way, the CA I use when creating it is: *.eu-west-1.elasticbeanstalk.com

Thank you very much in advance team :)

已提問 1 年前檢視次數 86 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南