Comments (4)
To open ssl configured on nginx layer is most suitable. not at configured application.
from cim.
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.
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=PKCS12but 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.
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)
- 楼主,客户端的代码全部开源吗? HOT 3
- hello,非常喜欢你的项目!请问有没有react-native可用的js sdk提供包下载 HOT 2
- android tv 无法启动service
- Regarding about heart beat(ping /pong) HOT 1
- 可以提供一个ios端的demo吗? HOT 1
- socket connection issue in android HOT 1
- Android的SDK,8.0和9.0上连接不上的,6.0的没有问题 HOT 2
- 在bugly中收集到了8.0以上的系统在后台时启动service会报错,经查阅8.0好像需要startForegroundService方式启动 HOT 7
- 设备信息 HOT 1
- 集群获取session HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cim.