Fail to change Cypher suite

  • This topic has 3 replies, 1 voice, and was last updated 1 week ago by nevola.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #56366 Reply
    fmazzi

      Hello, when I try to change Cyphers, I got this error in console:

      PUT https://xxxxxxxxx:444/api/v4.0/api.cgi/farms/xxxxx 500 (Internal Server Error)

      I can’t change it. I tried on evenry https server farm with same result.

      RELIANOID Version: 7.4.0
      WebGUI Version: 2.1.0
      Appliance Version: RCE 7

      Is it a bug?

      #56368 Reply
      nevola
      Moderator

        Hello, exactly it is a defect in the source code.

        It raises:

        Too few arguments for subroutine ‘main::setFarmCipherList’ (got 2; expected 3) at /usr/share/perl5/Relianoid/HTTP/Controllers/API/Farm/Put/HTTP.pm line 322.

        To solve it go to the line 322 of the file “/usr/share/perl5/Relianoid/HTTP/Controllers/API/Farm/Put/HTTP.pm”, please change the line:

        if (&setFarmCipherList($farmname, $ciphers_lib) == -1) {

        by

        if (&setFarmCipherList($farmname, $ciphers_lib, $json_obj->{cipherc}) == -1) {

        We’re planning the next Community Edition 7.5 for the following weeks and this patch will be included for sure.

        Cheers.

        #56369 Reply
        fmazzi

          Thank you, it works.

          #57070 Reply
          nevola
          Moderator

            Hi Francesco, just to confirm that this fix is already included in the last release 7.5.

            Cheers.

          Viewing 4 posts - 1 through 4 (of 4 total)
          Reply To: Fail to change Cypher suite
          Insert your details or Register to avoid being moderated