I am using CometD library for nodejs on server side using the https://www.npmjs.com/package/cometd-nodejs-client. The server (Genesys) that I am trying to connect uses SSL, due to SSL cert I am getting SSL error when connecting to the server using CometD. My question is that is there a way to pass the ca cert to CometD library (https://www.npmjs.com/package/cometd)?
Adding SSL to CometD
212 views Asked by Satpal At
2
There are 2 answers
1
Kiran R
On
I am also seeing a similar issue when using CometD and CometD Client packages to connect to Genesys.
I have a nodejs server that adds all the /meta/handshake, /meta/connect, /meta/disconnect... listeners. When I try to trigger the /meta/handshake I seeing SSL self signed certificate in certificate chain error. As a solution, I tried to install the ssl certificates on my server and tried to connect to Genesys but I still see the same self signed certificate error.
Is there a way to configure the listeners with rejectUnauthorized: false?
Related Questions in NODE.JS
- Using Puppeteer to scrape a public API only when the data changes
- How to request administrator rights?
- How do I link two models in mongoose?
- Variable inside a Variable, not updating
- Unable to Post Form Data to MongoDB because of picturepath
- Connection terminated unexpectedly while performing multi row insert using pg-promise
- Processing multiple forms in nodejs and postgresql
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How to change the Font Weight of a SelectValue component in React when a SelectItem is selected?
- My unban and ban commands arent showing when i put the slash
- how to make read only file/directory in Mac writable
- How can I outsource worker processes within a for loop?
- Get remote MKV file metadata using nodejs
- Adding google-profanity-words to web page
- Products aren't displayed after fetching data from mysql db (node.js & express)
Related Questions in SSL
- Django's previous settings prevent connecting to localhost
- SSL error when redirecting from one lightsail subdomain to lightsail subdomain on different account
- HTTP Requests from SSL Secured(HTTPS) Domain Failing
- Reversed TLS re-connection issue
- Nginx configuration file and SSL certificate errors in Docker
- IBM DB2 console doesn't work after SSL certificate update
- mTLS not working with FastAPI and Uvicorn
- WSO2 change localhost - ERR_CERT_AUTHORITY_INVALID
- KeyCloak Handshake causing timeout
- Python SSL Error , Server side - Client certificate verify failing with Intermediate cert - self-signed certificate in certificate chain (_ssl.c:1007)
- Apps migrated from IIS server1 to another IIS server2 stopped communicating with an App on IIS server 1 via SSL (HTTPS)
- Let Artifactory use HTTPS settings
- Even though I added my SSL certificate, I get the "not secure" error
- CST 0001 ERRO [comm.tls] ClientHandshake -> Client TLS handshake failed after 173.725µs with error EOF remoteaddress=127.0.0.1:7051
- ERR_SSL_PROTOCOL_ERROR generated using X509 certificate with Kestrel hosting in .NET 8 on Linux
Related Questions in SSL-CERTIFICATE
- SSL error when redirecting from one lightsail subdomain to lightsail subdomain on different account
- IBM DB2 console doesn't work after SSL certificate update
- requesting AWS Certificate Manager cert for root domain works, but not www subdomain
- Problem with SSL Certificate when the .Net App calls itself in the docker container
- "SSL certificate problem: unable to get local issuer certificate" when trying to access a repository on github
- Python SSL Error , Server side - Client certificate verify failing with Intermediate cert - self-signed certificate in certificate chain (_ssl.c:1007)
- DRF, corsheaders and SSL certificate error on deploy on VPS
- javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid cert
- How to move updates from Google Play to another server
- psql environment variable for sslkey password?
- PHP & LDAPS : cant connect to AD
- "Problem with the SSL CA cert" when running git
- Wildcard SSL certificate with IIS webserver type Can it be used on Linux servers using Apache?
- ktor client/server request falling and getting 500 internal server problem
- SSL Handshake issue on Android 7.0
Related Questions in COMETD
- CometD NodeJS handshake failing
- Does CometD support partial websocket messaging
- Cometd additional info during handshake
- How to resolve "error":402 unknown client " issue while using live chat Cometd in iOS while the still the connection is open
- Application response times are high with cometd calls
- How to add CometD 5x and above jars to Maven project
- Log4j Vulnerability in jetty jetty-hightide-7.6.1.v20120215/webapps/cometd.war
- Flooding of message at side client from server channel and wrong message with CometD frame work
- Cometd: specifying max threads in java client
- Cometd with Android: java.lang.RuntimeException: Could not find an implementation class
- Salesforce Camel Kafka Connector converting message to weird format
- Adding SSL to CometD
- How does CometD handle ports in long polling?
- How to view http traffic in jetty http client?
- Bayeuxclient disconnects
Related Questions in GENESYS
- Genesys Engage On-Premise data to cloud
- CXInsifht on Docker YML file error: parsing /gcxi_temp/docker-compose.yml: yaml: line 10: did not find expected key
- End of a integration in Genesys
- Blue Prism Genesys api
- How to show MessageBox notification when agent rejects call in Workspace Desktop Edition custom module?
- Genesys Conversations Api getConversationsChatMessages(conversationId) is empty
- How can I troubleshoot 'SSL connection could not be established' error with Genesys Cloud API in C#?
- Problem with voice responses in dialogflow cx
- PCRE Regex pattern to match 8 to 12 digits of length
- Where is a file created via Terraform code stored in Terraform Cloud?
- Issue in reading paginated API data using ADF
- Genesys Pulse - Adding a Custom Statistic to a Template
- Flattening JSON with schema changes in a single JSON object
- Genysys Java PSDK - setup Eventhandler for web application
- How to get all details for not answerer calls between 2 dates in genesys cloud?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The
XMLHttpRequestprovided by the CometD library exposes a_config()function that returns a configuration object that is passed to Node'shttp.request(...), allowing you to configure TLS if so you need.You can refer to this test case:
https://github.com/cometd/cometd-nodejs-client/blob/1.3.0/test/https.js#L53