xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 3 and Version 4 of Encryption/SSL


Ignore:
Timestamp:
08/09/16 15:12:44 (5 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Encryption/SSL

    v3 v4  
    8686}}}
    8787}}}
     88
     89{{{
     90== Sending the CA data ==
     91
     92Convert a CA file to hex:
     93{{{
     94python -c "import sys,binascii;print binascii.hexlify(open(sys.argv[1]).read())" ca.crt
     95}}}
     96Convert hex back to data to verify (only part of the data shown here):
     97{{{
     98python -c "import sys,binascii;print binascii.unhexlify(sys.argv[1])" \
     99    2d2d2d2d2d424547494e2043455254494649434154452d2d2d2d2d0a4d4949
     100}}}
     101Use it directly in the xpra command:
     102{{{
     103xpra attach ssl:localhost:10000 \
     104    --ssl-ca-data=2d2d2d2d2d424547494e...4452d2d2d2d2d0a
     105}}}
     106Alternatively, place all of these in a connection file you can just double click on:
     107{{{
     108echo > ssl-test.xpra <<EOF
     109host=localhost
     110autoconnect=true
     111port=10000
     112mode=ssl
     113ssl-ca-data=2d2d2d2d2d424547494e...4452d2d2d2d2d0a
     114EOF
     115}}}
     116}}}