I’m a new Duplicati user and I’m discovering its features.
For me is very useful the GUI and having a quick dashboard where I can manage everything: I installed Duplicati on my Linux VPS, which has no X windows, so I cannot use the browser from localhost, but I need to open the port and connect remotely.
For obvious security reasons, I had to operate via SSL.
I was able to let Duplicati use my certificate and my key, the problem is it works only the first time I start duplicati-server. If I restart duplicati-server I get this error:
# duplicati-server --webservice-sslcertificatefile=/var/duplicati/duplicaticertificate.pfx --webservice-sslcertificatepassword=mypassword A serious error occurred in Duplicati: System.PlatformNotSupportedException: Operation is not supported on this platform. at Duplicati.Server.Database.ServerSettings.get_ServerSSLCertificate () [0x00115] in <c5f097a49c0a4f1fb0f93cf3f5f218b1>:0 at Duplicati.Server.WebServer.Server..ctor (System.Collections.Generic.IDictionary`2[TKey,TValue] options) [0x002a4] in <c5f097a49c0a4f1fb0f93cf3f5f218b1>:0 at Duplicati.Server.Program.StartWebServer (System.Collections.Generic.Dictionary`2[TKey,TValue] commandlineOptions) [0x00000] in <c5f097a49c0a4f1fb0f93cf3f5f218b1>:0 at Duplicati.Server.Program.RealMain (System.String _args) [0x00227] in <c5f097a49c0a4f1fb0f93cf3f5f218b1>:0
Actually I managed to solve the issue by launching this query on the sqlite db
update option set value='' where Name='server-ssl-certificate';
just immediately before starting the server.
This could be a bug or my configuration is wrong somewhere?