test selfsigned cert