Securing Etherpad admin with a password

Etherpad is insecure by default.

To secure etherpad edit
/usr/local/etherpad/trunk/etherpad/etc/etherpad.localdev-default.properties
Add the line (if it doesn’t already exist – it exists by default)
etherpad.adminPass = password
Replace password with your password
Edit the line
etherpad.isProduction = false
To read
etherpad.isProduction = true
Save the file and restart etherpad.

Configure Etherpad Pro AFTER installation

So you have Etherpad installed and working? Now you want to allow users to have sub-domains and their own accounts? Maybe you want the privacy settings, I don’t know…

First off: Got your * dns wildcard in place? You are going to need it.

Then: Set up your smtp server

Finally: Remove the need for SSL

Oh yeah then:  Fix the sign in link

Etherpad SSL Https pro setup

Don’t wanna use SSL / https for etherpad? Fine.

Edit trunk/etherpad/src/etherpad/pro/pro_accounts.js

Replace ‘https://’, httpsHost(pro_utils.getFullProHost()), ‘/ep/account/sign-in?’,

with

‘http://’, httpHost(pro_utils.getFullProHost()), ‘/ep/account/sign-in?’,

Edit /usr/local/etherpad/trunk/etherpad/src/etherpad/control/pro/pro_main_control.js

Replace

evalExpDate: licensing.getLicense().expiresDate,

with

// evalExpDate: licensing.getLicense().expiresDate,

See my other etherpad blog posts for other help in getting pro working

Etherpad email is not working

If you have problems with emails not coming from your etherpad deployment try adding the line

smtpServer = localhost:25
to
/usr/local/etherpad/trunk/etherpad/etc/etherpad.localdev-default.properties
and restarting the etherpad daemon
# then
telnet localhost 25
if you get a Connect message then good times, if not, install an MTA such as postfix. By default my box had exim4 on so I did
apt-get remove exim4
# then
apt-get install postfix
Cause I prefer postfix 🙂