SSL issue when using duplicati

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION=“Ubuntu 18.04.5 LTS”

uname -a
Linux moji 4.15.0-126-generic #129-Ubuntu SMP Mon Nov 23 18:53:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Duplicati Version: - 2.0.5.1_beta_2020-01-18

cat /etc/default/duplicati

DAEMON_OPTS="–webservice-sslcertificatefile=/etc/ssl/certs/moji.p12 --webservice-sslcertificatepassword=somepass --webservice-interface=any --webservice-port=8200 --portable-mode"

===

Hi,

When browsing to the duplicati URL, I have valid ssl connection (valid certificate) but the page does not load, it is going in a circle.

From systemctl status, I have :

Critical error occured : System.PlatformNotSupportedException: Operation is not supported on this platform.

But when I dont use ssl options from /etc/default/duplicati, it works using http.

What could be the issue ?

Thanks in advance !

What version of mono are you using?

This thread may be relevant: Latest Mono not supporting SSL correctly

It offers a workaround. I’m not sure if this issue has been fixed or not in Duplicati.

mono --version
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:01:23 UTC 2020)
Copyright © 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: hybrid
GC: sgen (concurrent by default)

Thanks, if you missed my recent post edit, check it out for a link to a related thread.