make it possible to use onsa with tls remotes without having a local certificate (a bit hacky, but it works)