Revert "Remove ssl status ok check."

This reverts commit 74e26024511ea2f7cb46179397f76aff9f0c9618.