You can achieve this by going to IIS Web
Site Browse, click on the Add button from the Data
Output section and choose Web Site Certificates type. Then
select a property to store the output.
At run time, after the IIS Browse operation is executed, if the selected IIS
Website has an SSL certificate, the above property will be set.