rustdesk-server icon indicating copy to clipboard operation
rustdesk-server copied to clipboard

Unable to establish encrypted transmission

Open xiaoyin111 opened this issue 3 years ago • 5 comments

` version: '3.6'

services: rustdesk-server: container_name: rustdesk-server ports: - 23565:21115 - 23566:21116 - 23566:21116/udp - 23567:21117 - 23568:21118 - 23569:21119 image: rustdesk/rustdesk-server-s6:latest environment: - "RELAY=x.x.x.x:23567" - "ENCRYPTED_ONLY=1" - "DB_URL=/db/db_v2.sqlite3" volumes: - ./db:/db restart: unless-stopped secrets: - key_pub - key_priv secrets: key_pub: file: /root/rustdesk/secrets/pub key_priv: file: /root/rustdesk/secrets/priv ` image

Unable to establish encrypted transmission.

xiaoyin111 avatar Sep 15 '22 03:09 xiaoyin111

same here, version 1.1.6-1, inputed the pub key in client, still unable to establish encrypted transmission.

dayue1984 avatar Nov 25 '22 06:11 dayue1984

Same here on 1.1.7 without encryption works rustdesk fine. Please fix it.

CamelT0E avatar Feb 04 '23 22:02 CamelT0E

@dayue1984 @nillebor @xiaoyin111 Did you ever solve it? I would like to encrypt too. I set up my own server. Works fine, but not sure how to get encryption enabled.

luckman212 avatar Mar 23 '23 23:03 luckman212

if you have activated the encryption, you just have to take the key from the docker rustdeskserver log and insert it at the client

CamelT0E avatar Mar 23 '23 23:03 CamelT0E

Ok thanks, I retreived the public key from /data/id_ed25519.pub and pasted it into Key field. Encryption is working now. I guess I missed this in the docs somewhere...

7e3d3c37c32b635799bf99c05507f4671b310590_gh_gh

luckman212 avatar Mar 24 '23 13:03 luckman212