Giter Site home page Giter Site logo

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 42, column 25 about spring-hello-world HOT 4 CLOSED

mblakeashley avatar mblakeashley commented on June 28, 2024
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target @ line 42, column 25

from spring-hello-world.

Comments (4)

akamalov avatar akamalov commented on June 28, 2024

Answering my own question. If you're in a proxied environment like me, you need to add proxy information to your mvn clean package

File: https://github.com/mblakeashley/spring-hello-world/blob/master/ci/tasks/maven-build:

mvn clean package -DproxySet=true -DproxyHost=[PROXY_HOST] -DproxyPort=[PROXY_PORT] -DnonProxyHosts=127.0.0.1

Also, if you're deploying it against your local PCF, your unit-tests will fail due to a hardcoded domain information. Update the task file to reflect your domain name and it will go through.

from spring-hello-world.

mblakeashley avatar mblakeashley commented on June 28, 2024

@akamalov Thanks for sharing your findings in regards to the proxy settings.

As for the hardcoding of hostname/url that is on purpose to simulate a ready to go blue-green deployment. This project is intended for a blog post I wrote some time back, I'll update the readme to reflect this. Cheers!

https://www.levvel.io/our-ideas/CI-CD-Going-Stateless-with-Pivotal-Cloud-Foundry

from spring-hello-world.

akamalov avatar akamalov commented on June 28, 2024

By the way @mblakeashley, awesome blog. Loved it!!

from spring-hello-world.

mblakeashley avatar mblakeashley commented on June 28, 2024

@akamalov Awesome, glad you enjoyed it!

from spring-hello-world.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.