btsync-deb
btsync-deb copied to clipboard
Warning : Bad SSL config, can't generate certificate.
New install of openmediavault, but unable to install btsync successfully:
# apt-get install btsync
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
bind-shim
The following NEW packages will be installed:
btsync
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/100 kB of archives.
After this operation, 211 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package btsync.
(Reading database ... 49257 files and directories currently installed.)
Preparing to unpack .../btsync_2.5.0-1.0_all.deb ...
Unpacking btsync (2.5.0-1.0) ...
Setting up btsync (2.5.0-1.0) ...
Warning : Bad SSL config, can't generate certificate.
chmod: cannot operate on dangling symlink '/etc/btsync/debconf-default.crt'
chmod: cannot operate on dangling symlink '/etc/btsync/debconf-default.key'
Any idea how to get around this?
Looks like the default certs aren't being generated for some reason. Basically the certs should be generated here: /usr/share/btsync/debconf-default.crt
.
Can you run (copy and past all the lines into a shell):
where openssl
openssl req -newkey rsa:2048 -x509 -days 3652 -nodes \
-rand /dev/urandom -out /tmp/cert -keyout /tmp/cert.key <<+
.
.
.
BitTorrent Sync
Administration Interface
localhost
root@localhost
+
echo $?
And post the output?
i'm experiencing the same issue - hence see below the result after running the command from above. running on Raspbian 9 (stretch)
root@raspberrypi:/etc/apt/sources.list.d# where openssl
bash: where: Kommando nicht gefunden.
root@raspberrypi:/etc/apt/sources.list.d# openssl req -newkey rsa:2048 -x509 -days 3652 -nodes \
>
raspi.list silvenga-btsync-deb.list
> -rand /dev/urandom -out /tmp/cert -keyout /tmp/cert.key <<+
> .
> .
> .
> BitTorrent Sync
> Administration Interface
> localhost
> root@localhost
> +
Generating a RSA private key
.....+++++
............+++++
writing new private key to '/tmp/cert.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Email Address []:root@raspberrypi:/etc/apt/sources.list.d# echo $?'