I added the section in pom.xml and used open ssl to create a pem cert . But I am not getting past the error. What could be wrong for me ? (disabling corp vpn resolves but i need to make it work with corp vpn) I am using spring boot 3.1.1
[INFO] [creator] Get "github.com/bell-sw/Liberica/releas... tls: failed to verify certificate: x509: certificate signed by unknown authority
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <image> <env> <SERVICE_BINDING_ROOT>/bindings</SERVICE_BINDING_ROOT> </env> <bindings> <binding>${basedir}/bindings/ca-certificates:/platform/bindings/ca-certificates</binding> </bindings> </image> </configuration> </plugin> </plugins> </build>
Probably you are using the wrong certificate.
The mycert.cer file should containg the public certficate used by your company to sign the incoming traffic from the internet.
mycert.cer
The certificate is expected to be in x509 format.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I added the section in pom.xml and used open ssl to create a pem cert . But I am not getting past the error. What could be wrong for me ? (disabling corp vpn resolves but i need to make it work with corp vpn)
I am using spring boot 3.1.1
[INFO] [creator] Get "github.com/bell-sw/Liberica/releas... tls: failed to verify certificate: x509: certificate signed by unknown authority
Probably you are using the wrong certificate.
The
mycert.cerfile should containg the public certficate used by your company to sign the incoming traffic from the internet.The certificate is expected to be in x509 format.