Forum Discussion
ASM policy HTTP/HTTPS Virtual Server
Hello,
We have a VS running as HTTP with an ASM security policy and many learned objects and we need to move to HTTPS instead of HTTP i'm aware of option "Differentiate between HTTP/WS and HTTPS/WSS URLs" and the option is enabled so all the learned objects are working with HTTP only and when moving to HTTPS most of the url are blocked as they aren't learned yet (as HTTPS) so is there any way we can modify the security policy to be working with HTTPS instead of creating new one and start from scratch.
- samstepCirrocumulus
One way of achieving this is to export your policy as XML (full version, not the compact one). Then open the XML file in a text editor (like Sublime or Atom) and do a search an replace all instances of
to then save the XML file and re-import it into the new policy - all URLs will now be HTTPS.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com