Radware config translation
Problem this snippet solves: This is a simple Python script that translates Radware text configuration file and outputs as config snippet and certificate files.
$ ./rad2f5
Usage: rad2f5 <filen...
Updated Jun 06, 2023
Version 3.0PeteWhite
Employee
Joined May 16, 2019
PeteWhite
Nov 06, 2019Employee
I have found the issue - there is a \\r\n after the normal \\n in your config file so i've added a line to the script to remove that. I suspect that it was added by your terminal. The way that the script works is to remove the linebreaks so that all of the relevant config is on the same line, it then breaks the line down into the options. Where this spreads across multiple lines it breaks the script.
I can see that there are no certificates in your config file.