Revise the certificates loading procedure