asp.net web api2 - SSL encryption on self hosted OWIN WebAPI -


i'm creating self hosted owin-based webapi static content. without ssl works should, don't know how implement ssl.

i read guides here , here, question is: need secure port, used webapi (in case: 9000) or standard 443 port?

the static content should simple url www.mysupergreatsite.com (without port). when calling url, browser should redirected static files... port 9000 guess?!

is way make litte redirection site somewhere else (e.g. iis)?

you want run ssl port faces outside world. doesnt matter port is, convention 443 default ssl, , therefore doesnt need explicit port. if dont want users have enter port explicitly, either need

  • run application on port 443 or
  • change default ssl port

changing default port can done iis when create site binding:

enter image description here


Comments