I am using Spring Boot as my backend and I have secured it with SAML SSO for authentication.
I am using Angular 12 as frontend and when I compile the code and deploy the static files to the Spring Boot application everything works well.
My problem is that when I run my Angular application (ng serve) in Dev environment, it can't access the backend's API because there was no authentication.
Could anyone suggest a path to be able to easily communicate between my frontend and backend in Dev environment?
#Spring boot + Angular + SAML SSO
4 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @alpine parcel! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Trying to do Mysql-SSL process
And I created Keystore and truststore by using the mysql ca-certs and client certs.
keytool -importcert -alias MySQLCACert.jks -file /var/lib/mysql/ca.pem -keystore ./truststore.jks -storetype PKCS12 -storepass mypassword
openssl pkcs12 -export -in /var/lib/mysql//client-cert.pem -inkey /var/lib/mysql/client-key.pem -out ./certificate.p12 -name "certificate"
keytool -importkeystore -srckeystore ./certificate.p12 -srcstoretype pkcs12 -destkeystore ./client-cert.jks
at sun.reflect.GeneratedConstructorAccessor73.newInstance(Unknown Source) ~[?:?]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_202]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_202]
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-j-8.0.31.jar:8.0.31]
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-j-8.0.31.jar:8.0.31]
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) ~[mysql-connector-j-8.0.31.jar:8.0.31]
at com.mysql.cj.protocol.ExportControlled.getSSLContext(ExportControlled.java:579) ~[mysql-connector-j-8.0.31.jar:8.0.31]
at com.mysql.cj.protocol.ExportControlled.performTlsHandshake(ExportControlled.java:333) ~[mysql-connector-j-8.0.31.jar:8.0.31]
at com.mysql.cj.protocol.StandardS```
```parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48)```