Fixed ssl cert creation