This page describes the basic steps to host the RemoteSupport proxy on Ubuntu Server 12.12. These steps are derived from Brain Cast Exception - Installing a Mono server for WCF.
Install apache and the mono requirements:
sudo apt-get install mono-apache-server2 libapache2-mod-mono mono-gmcs mono-utils sudo apt-get install apache2
Open /etc/apache2/mods-available/mod_mono.conf in your favorite text editor, and append ".svc" to this line:
AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
To create a new site, create a new text file /etc/apache2/sites-available/yoursite. Note the path to /var/www/public where we'll assume the proxy will be installed:
<VirtualHost *:80> # mono configuration MonoServerPath remotesupportproxy "/usr/bin/mod-mono-server2" MonoDebug remotesupportproxy false MonoSetEnv remotesupportproxy MONO_IOMAP=all MonoSetEnv remotesupportproxy MONO_STRICT_MS_COMPLIANT=yes MonoAutoApplication disabled # Define application name and path MonoApplications remotesupportproxy "/:/var/www/public" <Location /> Allow from all MonoSetServerAlias remotesupportproxy SetHandler mono Order allow,deny </Location> </VirtualHost>
Activate the site with
a2ensite yoursite
Create a self signed certificate (Steps 1 through 4 on How to create a self-signed SSL Certificate )
openssl genrsa -des3 -out server.key 1024 openssl req -new -key server.key -out server.csr cp server.key server.key.org openssl rsa -in server.key.org -out server.key openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
Convert the key and certificate into a PFX file:
openssl pkcs12 -export -out certificate.pfx -inkey server.key -in server.crt
Use PFX certificates as input for the Configure application, and after running Configure, copy the result from ...\build\public to the /var/www/public directory. Reload apache and you're done:
sudo /etc/init.d/apache2 reload