updated ssl portion for chain certificates