Remove legacy certificate handling