bugfix

enabling SSL in CBSA caused the script top throw some errors which are
now fixed.