GithubHelp home page GithubHelp logo

Comments (11)

karanvelayudham avatar karanvelayudham commented on July 17, 2024 1

Build snippet that you shared above, i added in pom and did mvn clean install

from mutual-tls-ssl.

Hakky54 avatar Hakky54 commented on July 17, 2024

Hi @karanvelayudham

Can you share some more details regarding your setup? Which OS and JDK are you using? How do you start the server?

from mutual-tls-ssl.

karanvelayudham avatar karanvelayudham commented on July 17, 2024

i am using windows and jdk 11. i followed your readme instructions to start server, it was running without encryption, i I had generated the certificate and When i try to enable one way TLS and run the application , i am getting this error

from mutual-tls-ssl.

Hakky54 avatar Hakky54 commented on July 17, 2024

Yess, clear and which JDK are you using, zulu, oracle or some other?

from mutual-tls-ssl.

karanvelayudham avatar karanvelayudham commented on July 17, 2024

Oracle JDK 11

from mutual-tls-ssl.

Hakky54 avatar Hakky54 commented on July 17, 2024

That is strange. I have it also locally and it is working fine with the oracle jdk. Do you have some time today or tomorrow to have a call so I can look at your setup and we can walk through it together?

from mutual-tls-ssl.

karanvelayudham avatar karanvelayudham commented on July 17, 2024

Appreciate your help man! But I can't have a external call and share screen from this machine since it is in my organizations network.
Thank you

from mutual-tls-ssl.

Hakky54 avatar Hakky54 commented on July 17, 2024

I can understand that, sure no worries.

So what I can recommend is to go through this video walkthrough: https://github.com/Hakky54/mutual-tls-ssl#demo-and-walk-through-video

If that is still not working you could add the snippet below to the following file locally: https://github.com/Hakky54/mutual-tls-ssl/blob/master/shared-server-resources/pom.xml Maven might be corrupting the data while packaging on Windows, see here for more: https://stackoverflow.com/questions/1052700/java-io-ioexception-invalid-keystore-format

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>identity.jks</include>
                    <include>truststore.jks</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
    </build>

By the way every time when you update the server keystores it might be useful to run: mvn clean install -pl shared-server-resources from the root directory of the project. This is not required but it might clean up caches.

A last resort is to run this project in gitpod which is an isolated environment setup with couple of tools such as java, maven and visual studio code which already has proven to work over there. Just hit the button below to open your online development environment:

Open in Gitpod

I am not sure why it is not working on your machine as I have run it multiple times also on windows with oracle jdk. Can you try the options above and share your progress?

from mutual-tls-ssl.

karanvelayudham avatar karanvelayudham commented on July 17, 2024

this snippet did worked! Thanks @Hakky54 .
I am able to run application now.

from mutual-tls-ssl.

Hakky54 avatar Hakky54 commented on July 17, 2024

Awesome to hear! By the way I noticed that the Scala compiler was failing on Windows, so I have fixed that yesterday. If you pull the latest version of the master your build will be running more smoothly. I am closing this issue. IF you have any other issues or questions feel free to open a new issue!

from mutual-tls-ssl.

Hakky54 avatar Hakky54 commented on July 17, 2024

By the way @karanvelayudham So which snippet did do the trick for you?

from mutual-tls-ssl.

Related Issues (19)

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.