How To Enable SSL On Client Side In Javascript #260
brennanmanion
started this conversation in
General
Replies: 3 comments
-
Hey @brennanmanion, can you confirm which version of rsocket-js you are using? Looks like |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, it is version 0.27.0
Here is my package.json
Thanks for looking into it!
{
"name": "browser-device-orientation-event",
"version": "0.1.0",
"private": true,
"dependencies": {
***@***.***/jest-dom": "^5.16.5",
***@***.***/react": "^13.4.0",
***@***.***/user-event": "^13.5.0",
"react": "^18.2.0",
"buffer": "^6.0.3",
"react-dom": "^18.2.0",
"bootstrap": "^5.2.3",
"react-bootstrap": "^2.7.0",
"react-scripts": "5.0.1",
"rsocket-core": "^0.0.27",
"rsocket-websocket-client": "^0.0.27",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
…On Thu, Apr 13, 2023 at 4:40 PM Kevin Viglucci ***@***.***> wrote:
Hey @brennanmanion <https://github.com/brennanmanion>, can you confirm
which version of rsocket-js you are using? Looks like 0.27.0, but just
wanted to be sure. Thanks.
—
Reply to this email directly, view it on GitHub
<#260 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN24RKA3GL2VG2OC23LABFDXBB6E5ANCNFSM6AAAAAAW5JWKU4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
If it is of any use at all, here is my test in java to confirm my server's SSL is working correctly `public class RSocketWebsocketClientSslTest {
}` Without setting those properties, I get an SSL connection exception. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a project using a spring boot backend and a react javascript front end. I have SSL enabled in my spring boot project in the properties file. However, just changing the URL to wss in my react client side is not enough. How can I include the context and correctly tell RSocket I want a secure websocket connection?
Below is an example of my javascript client connection
And here is how my spring controller looks
I made a PEM file using these commands
And I have them configured in my RSocket server like so
Is there anyone who knows how to solve this or a possible workaround?
Beta Was this translation helpful? Give feedback.
All reactions