sezuan / uploadr

XEP-0363 CLI upload tool
MIT License
7 stars 4 forks source link

Option to disable SSL / TLS #7

Closed thundergreen closed 7 years ago

thundergreen commented 7 years ago

I have a DNS problem here and mus use an internal host name like : xmpp.home but want to sent to emevth.no-ip.biz. Cert is not valid though for xmpp.home.

Is it somehow possible to disable SLL TLS?

Help would be appreciated.

 pi@home-assistant:~/uploadr $ ./uploadr.py -j pi-cam@xmpp.home -p pi-cam --notify home-assistant@xmpp.home README.md
ERROR    Could not match certificate against hostname: xmpp.home
WARNING  Failed to send <stream:stream to='xmpp.home' xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en' version='1.0'>
ERROR    Socket Error #9: Bad file descriptor
thundergreen commented 7 years ago

I think best way is to disable SSL TSL

 pi@home-assistant:~/uploadr $ ./uploadr.py -j pi-cam@pix-art.de -p pi-cam --notify thorsten@emevth.no-ip.biz README.md
ERROR    CERT: Invalid certificate trust chain.
ERROR    Error reading from XML stream.
ERROR    CERT: Invalid certificate trust chain.
ERROR    Error reading from XML stream.
ERROR    CERT: Invalid certificate trust chain.
ERROR    Error reading from XML stream.
ERROR    CERT: Invalid certificate trust chain.
ERROR    Error reading from XML stream.
thundergreen commented 7 years ago

Any news here ?

thundergreen commented 7 years ago

solved