xsp4 with https(Unable to load private key)

I want to use xsp4 to host my asp.net Website with https.
I generatet a .cer file and a .pvk key with this tutorial from the exportet localhost.pfx and tried to start it like this:

xsp4.exe --https --cert="localhost.cer" --pkfile="localhost.pvk" --pkpwd=123456789

on this try I get the error message:

Unable to load private key 'localhost.pvk'.
at Mono.WebServer.XSP.SecurityConfiguration.LoadPrivateKeyFile(String filename, String password)
at Mono.WebServer.XSP.SecurityConfiguration.CheckSecurityContextValidity()
at Mono.WebServer.XSP.SecurityConfiguration.get_KeyPair()
at Mono.WebServer.XSP.Server.DebugMain(String[] args, Boolean root, IApplicationHost ext_apphost, Boolean quiet)


and I tried to do the same with the original .pfx file:

xsp4.exe --https --p12file=localhost.pfx --pkpwd=123456789

and also to rename the .pfx file to .p12:

xsp4.exe --https --p12file=localhost.p12 --pkpwd=123456789

but on all tries I get this error message:

Unable to load private key '1571753451.p12'.
at Mono.WebServer.XSP.SecurityConfiguration.LoadPkcs12File(String filename, String password)
at Mono.WebServer.XSP.SecurityConfiguration.CheckSecurityContextValidity()
at Mono.WebServer.XSP.SecurityConfiguration.get_KeyPair()
at Mono.WebServer.XSP.Server.DebugMain(String[] args, Boolean root, IApplicationHost ext_apphost, Boolean quiet)

I also tried a demo certificate from this Website with the same results.

Note: If I enter a wrong password, the program only says that the password is wrong, so it should not be the password.

I use the xsp Version 0.4.0.0 from the newest mono Installation.


If this Problem cant be fixed, my Goal is to host an asp.net Website with something other than iis.
I tried Apache with the asp.net Extension but I didnt get it to work. After this I found xsp4 and it is working fine but not with https :/
Bump