solution for ssl problem #1