LawF0rge52

New Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by LawF0rge52

  1. Hi folks,

     

    Got a little issue on installation process.

    On installation try I got this error message:

     

    btsync (1.4.0-4) wird eingerichtet ...Warning : Bad SSL config, can't generate certificate.chmod: kann nicht auf der freihängenden symbolischen Verknüpfung „/etc/btsync/debconf-default.crt“ arbeitendpkg: Fehler beim Bearbeiten von btsync (--configure): Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurückFehler traten auf beim Bearbeiten von: btsyncE: Sub-process /usr/bin/dpkg returned an error code (1)

    The root cause is I changed my openssl configuration to support more then one CN previously. But it seems so that the post installation script will have some issue with this. Take a look to line 41-53: https://github.com/tuxpoldo/btsync-deb/blob/master/btsync/debian/btsync.postinst

     

    Once I created the CRT manually anything works fine:

    openssl req -newkey rsa:2048  -x509 -days 3652.5 -nodes -rand /dev/urandom -out /usr/share/btsync/debconf-default.crt -keyout /usr/share/btsync/debconf-default.keyCountry 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]:BitTorrent SyncOrganizational Unit Name (eg, section) []:Administration InterfaceCommon Name (e.g. server FQDN or YOUR name) []:localhostCommon Name 1 []:Common Name 2 []:Common Name 3 []:Email Address []:root@localhost
    Could be that this is really unique but I would recommend to change it a bit more flexible if possible.
     
    Cheers