Add a new method to setup encryption. split pems to do something interesting. bugfix 1