fix encoding, create certificates if not exists