Report this

What is the reason for this report?

Installing SSL Cert for Mono HttpListener on Ubuntu

Posted on July 22, 2014

All,

I am a linux rookie. I have started using DO instead of Amazon and am having a great time with it in general, but have run into a situation for which I could really use some help.

I have an Ubuntu droplet on which I have installed Mono and am successfully running a C# console app as an httplistener on port 1337. This works fine if I access it unsecured using http.

I created a StartSSL.com free signed web certificate. I retrieved the pfx/p12 file for my cert from their site and tried to use httpcfg to install it. It looks like it installed correctly on port 1337, as I can see it using httpcfg -list, and changed my code to look at https on port 1337 instead of http on port 1337. With this configuration all I get using https is an SSL error.

I really want to run this app as a console app/httplistener as opposed to using Nginx and Mono FastCGI. If anyone can help point me in the right direction regarding any SSL cert steps I got wrong or missed altogether I would greatly appreciate it!

Thanks, Bruce

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.