Giter VIP home page Giter VIP logo

Comments (8)

mkrueger avatar mkrueger commented on September 22, 2024

Not sure about secure websockets - xibalba.l33t.codes:44512 works.

from icy_term.

martykazmaier avatar martykazmaier commented on September 22, 2024

I'm not sure if it's a CA issue, or what... I'm using: No-IP Vital Encrypt DV The SSL cert works with my web server, so it should work with the secure websocket. I had a regular websocket working, but now force it to use TLS/SSL for connections and that's not working with icyterm .6.8 Win64bit.

from icy_term.

NuSkooler avatar NuSkooler commented on September 22, 2024

If you already know No-IP Vital Encrypt DV Certificate Authority is trusted by web browsers (without prompting users), then all you may need to do is complete the certificate chain/bundle in your config. Right now it's incomplete:

openssl s_client -connect shsbbs.net:8080
CONNECTED(00000003)
depth=0 CN = shsbbs.net
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = shsbbs.net
verify error:num=21:unable to verify the first certificate
verify return:1
depth=0 CN = shsbbs.net
verify return:1
---
Certificate chain
 0 s:CN = shsbbs.net
   i:C = US, O = "Vitalwerks Internet Solutions, LLC", CN = "Vitalwerks Internet Solutions, No-IP TLS ICA"
...
SSL handshake has read 2333 bytes and written 388 bytes
Verification error: unable to verify the first certificate

from icy_term.

martykazmaier avatar martykazmaier commented on September 22, 2024

I'm using the command line: websockify --cert=c:\apache24\conf\bundle.pem --ssl-only --cafile=c:\apache24\conf\DigiCertCA.crt 192.168.0.2:8080 192.168.0.7:23
I've got the bundle.pem file the same as everything else is using, with my certificate and private key in it. I'm not sure what I'm doing wrong. Icecast is set up the same way, and the https://shsbbs.net:8088/shurato.ogg link works fine. I'll look into this some more. Thanks!

from icy_term.

martykazmaier avatar martykazmaier commented on September 22, 2024

websockify --cert=c:\apache24\conf\shsbbs_net.crt --key=c:\apache24\conf\myserver.key --ssl-only --cafile=c:\apache24\conf\DigiCertCA.crt 192.168.0.2:8080 192.168.0.7:23 didn't seem to make any difference, in case my bundle.pem file wasn't right. Oh, the icecast server is actually https://shsbbs.net:8843/shurato.ogg , I've got too many port numbers to keep straight...

from icy_term.

martykazmaier avatar martykazmaier commented on September 22, 2024

My certificates work with web browsers, but not with other ssl clients.

from icy_term.

NuSkooler avatar NuSkooler commented on September 22, 2024

Web browsers will often fetch a missing component of your certificate chain for you. When I look at openssl s_client -connect shsbbs.net:8080, it's still not able to verify with any built in CA bundles. You can generally export the full chain from your browser, then try serving with that as your bundle.

from icy_term.

martykazmaier avatar martykazmaier commented on September 22, 2024

from icy_term.

Related Issues (20)

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.