Revert "Remove the cert auth"

This reverts commit 5ec61fc209d556676de94632787e2ec27f88a8c6.