ssl updates

added tests
added name config
added docs