Skallesh

Fix for the code that was corrupting the ca-cert