extract ssl php