Last active
March 22, 2018 16:13
-
-
Save jclement/3368feca85193327a1974a2a6d23881b to your computer and use it in GitHub Desktop.
Testing public facing AFE Nav service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- ================================================= --> | |
<!-- THIS FILE IS AUTOGENERATED. DO NOT MODIFY THIS FILE --> | |
<!-- ================================================= --> | |
<castle> | |
<?define DISABLE_TLS ?> | |
<properties> | |
<!-- Service Configuration --> | |
<servicePort>0</servicePort> | |
<serviceHost>localhost</serviceHost> | |
<webServicePort>9081</webServicePort> | |
<webServiceHost>localhost</webServiceHost> | |
</properties> | |
</castle> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<castle> | |
<?define OVERRIDE_WEBROOT ?> | |
<?define PREVENT_WEBROOT_BIND ?> | |
<properties> | |
<webRoot>https://76ff6407.ngrok.io/</webRoot> | |
</properties> | |
</castle> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've made a couple changes to service startup to facilitate testing AFE Nav (from Dev/QA machines) on the big-bad-Internet using a tool like NGrok.
First you change your Web Service port to something other than 443 (ie. 9081). You'll also need to use the SSL Tool to uninstall the SSL certificates and bindings.
Add a URLACL binding for that port with an admin command line:
Start NGROK pointing at the new port.
Update webroot.config with the newly assigned hostname (https://?????.ngrok.io)
Start the AFE Nav service. Voila!