stud repo: https://github.com/bumptech/stud
###Compiling from source: stud on Ubuntu repository is outdated. Here's how to compile that from source:
sudo apt-get install -y libev-dev libssl-dev git-core
git clone git://github.com/bumptech/stud.git
cd stud
make && sudo make install
After that stud will be installed on /usr/local/stud
###Generating a self signed certificate:
openssl genrsa -out test.com.key 1024
openssl req -new -key test.com.key -out test.com.csr
openssl x509 -req -days 365 -in test.com.csr -signkey test.com.key -out test.com.crt
cat test.com.key test.com.crt > openssl genrsa -out test.com.key 1024
openssl req -new -key test.com.key -out test.com.csr
openssl x509 -req -days 365 -in test.com.csr -signkey test.com.key -out test.com.crt
cat test.com.key test.com.crt > test.com.pem
We'll place test.com.pem to /cert/test.com.pem
for stud on our server.
###Starting stud on boot
After creating the following /etc/stud/studconfig.conf
and /etc/init/stud.conf
files, stud will be started after boot.
To manually start/stop:
sudo service stud start
sudo service stud stop