Giter Site home page Giter Site logo

Web Socket can't open with SSL about cim HOT 4 CLOSED

farsunset avatar farsunset commented on August 30, 2024
Web Socket can't open with SSL

from cim.

Comments (4)

farsunset avatar farsunset commented on August 30, 2024 1

To open ssl configured on nginx layer is most suitable. not at configured application.

from cim.

mangalauoc avatar mangalauoc commented on August 30, 2024

Currently, I run this application inside the tomcat server. Automatically WebSocket port(34567) and AppSockets port (23456) are initializing without SSL. I mean ws://. I only have added small configurations to set the SSL to the Application like follows. Are those configurations Correct or wrong?

server.ssl.key-store=classpath:cert.p12
server.ssl.key-store-password=my password
server.ssl.keyStoreType=PKCS12

but I don't know how to config the SSL inside the Nginx. Can I get an example or help? Please

from cim.

farsunset avatar farsunset commented on August 30, 2024

Currently, I run this application inside the tomcat server. Automatically WebSocket port(34567) and AppSockets port (23456) are initializing without SSL. I mean ws://. I only have added small configurations to set the SSL to the Application like follows. Are those configurations Correct or wrong?

server.ssl.key-store=classpath:cert.p12
server.ssl.key-store-password=my password
server.ssl.keyStoreType=PKCS12

but I don't know how to config the SSL inside the Nginx. Can I get an example or help? Please

https://www.serverlab.ca/tutorials/linux/web-servers-linux/how-to-proxy-wss-websockets-with-nginx/

from cim.

farsunset avatar farsunset commented on August 30, 2024

Or you can modify cim-server-sdk-netty to add ssl feature
https://github.com/netty/netty/blob/4.1/example/src/main/java/io/netty/example/http/websocketx/server/WebSocketServer.java

from cim.

Related Issues (11)

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.