cleared crust from sslcert
fixed small issues
made insert more generic