How to send certificate A or certificate B using php?