-
Notifications
You must be signed in to change notification settings - Fork 265
Open
Description
Hi, from version 1.28 of Microsoft.Skype.Bots.Media there is new requirement to startup script:
# Delete ssl cert bindings
netsh http delete sslcert ipport=%InstanceIpAddress%:%InstanceMediaControlPort%
# Delete http registrations
netsh http delete urlacl url=https://+:%InstanceMediaControlPort%/
# Bind ssl cert to the IP/Port
netsh http add sslcert ipport=%InstanceIpAddress%:%InstanceMediaControlPort% "appid={00000000-0000-0000-0000-000000000001}" cert=%ServerCertificate%
[...]
Getting enpoint port and certificate isn't such a problem, but how to get %InstanceIpAddress% ?
Working on Cloud Service I used:
<Variable name="InstanceIpAddress"> <RoleInstanceValue xpath="/RoleEnvironment/CurrentInstance/Endpoints/Endpoint[@name='InstanceMediaControlEndpoint']/@address" /> </Variable>
How to get that Ip when working as Service Fabric application?
Metadata
Metadata
Assignees
Labels
No labels