specifying --spice-ca-file yields Load CA, file: (null)
Submitted by Shem Pasamba
Assigned to Spice Bug List
Link to original bug (#106764)
Description
Hello,
I'm trying to connect to Proxmox spice server and it doesn't work so I'm trying: remote-viewer --spice-ca-file /etc/ssl/certs/ca-certificates.crt --spice-debug ~/Downloads/spiceproxy
But the output says:
(remote-viewer:24345): GSpice-DEBUG: 09:19:59.374: spice-session.c:286 New session (compiled from package spice-gtk 0.34) (remote-viewer:24345): GSpice-DEBUG: 09:19:59.374: spice-session.c:290 Supported channels: main, display, inputs, cursor, playback, record, smartcard, usbredir, webdav (remote-viewer:24345): GSpice-DEBUG: 09:19:59.374: usb-device-manager.c:509 auto-connect filter set to 0x03,-1,-1,-1,0|-1,-1,-1,-1,1 (remote-viewer:24345): GSpice-DEBUG: 09:19:59.382: spice-session.c:1743 no migration in progress (remote-viewer:24345): GSpice-DEBUG: 09:19:59.383: spice-channel.c:146 main-1:0: spice_channel_constructed (remote-viewer:24345): GSpice-DEBUG: 09:19:59.383: spice-session.c:2246 main-1:0: new main channel, switching (remote-viewer:24345): GSpice-DEBUG: 09:19:59.451: usb-device-manager.c:974 device added 058f:6366 (0x55c9448fc520) (remote-viewer:24345): GSpice-DEBUG: 09:19:59.451: usb-device-manager.c:974 device added 0c76:1608 (0x55c9447c3450) (remote-viewer:24345): GSpice-DEBUG: 09:19:59.451: usb-device-manager.c:974 device added 0ac8:3420 (0x55c9448cc1d0) (remote-viewer:24345): GSpice-DEBUG: 09:19:59.451: usb-device-manager.c:974 device added 04d9:1702 (0x55c944917e20) (remote-viewer:24345): GSpice-DEBUG: 09:19:59.451: spice-channel.c:2688 main-1:0: Open coroutine starting 0x55c944977560 (remote-viewer:24345): GSpice-DEBUG: 09:19:59.451: spice-channel.c:2529 main-1:0: Started background coroutine 0x55c944976be0 (remote-viewer:24345): GSpice-DEBUG: 09:19:59.451: spice-session.c:2180 Missing port value, not attempting unencrypted connection. (remote-viewer:24345): GSpice-DEBUG: 09:19:59.451: spice-channel.c:2555 main-1:0: trying with TLS port (remote-viewer:24345): GSpice-DEBUG: 09:19:59.451: spice-session.c:2192 main-1:0: Using TLS, port 61004 (remote-viewer:24345): GSpice-DEBUG: 09:19:59.452: spice-session.c:2140 (with proxy http://decapolis.cc.aiias.edu:3128) (remote-viewer:24345): GSpice-DEBUG: 09:19:59.476: spice-session.c:2064 proxy lookup ready (remote-viewer:24345): GSpice-DEBUG: 09:19:59.476: spice-session.c:2047 main-1:0: connecting 0x7eff411e7a70... (remote-viewer:24345): GSpice-DEBUG: 09:19:59.479: spice-session.c:2031 main-1:0: connect ready (remote-viewer:24345): GSpice-DEBUG: 09:19:59.480: spice-channel.c:2451 main-1:0: Load CA, file: (null), data: 0x55c9448b9000
(remote-viewer:24345): GSpice-WARNING **: 09:19:59.481: main-1:0: SSL_connect: error:00000001:lib(0):func(0):reason(1) (remote-viewer:24345): GSpice-DEBUG: 09:19:59.481: spice-channel.c:2665 main-1:0: Coroutine exit main-1:0 (remote-viewer:24345): GSpice-DEBUG: 09:19:59.481: spice-channel.c:2858 main-1:0: reset (remote-viewer:24345): GSpice-DEBUG: 09:19:59.481: channel-main.c:1539 agent connected: no (remote-viewer:24345): GSpice-DEBUG: 09:19:59.481: spice-channel.c:2800 main-1:0: channel reset (remote-viewer:24345): GSpice-DEBUG: 09:19:59.482: spice-channel.c:2410 main-1:0: Delayed unref channel 0x55c944977560 (remote-viewer:24345): GSpice-DEBUG: 09:20:01.653: spice-session.c:1937 session: disconnecting 0 (remote-viewer:24345): GSpice-DEBUG: 09:20:01.653: spice-session.c:286 New session (compiled from package spice-gtk 0.34) (remote-viewer:24345): GSpice-DEBUG: 09:20:01.653: spice-session.c:290 Supported channels: main, display, inputs, cursor, playback, record, smartcard, usbredir, webdav (remote-viewer:24345): GSpice-DEBUG: 09:20:01.654: usb-device-manager.c:509 auto-connect filter set to 0x03,-1,-1,-1,0|-1,-1,-1,-1,1 (remote-viewer:24345): GSpice-DEBUG: 09:20:01.661: spice-session.c:1937 session: disconnecting 0
As you can see the SSL_connect files, and I'm guessing, because the CAFile is empty?
Please help. Thank you.