Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37089

How to configure "Publish over FTP plugin", I got "534 Policy requires SSL" error.

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Postponed
    • Icon: Minor Minor
    • None
    • Window 10 64 Bit

      I have installed Publish over FTP plugin for Jenkins. There is checkbox named Use FTP over TLS which i have already checked. One another text-box named Trusted Certificate, I have set below text (certificate text) here.

      ----BEGIN CERTIFICATE----
      MIIE3TCCA8WgAwIBAgISESHdIpSQWOgXMNo3XneAFNF9MA0GCSqGSIb3DQEBCwUA
      ...................
      ...................
      ...................
      ...................
      x7Yd2scxpGQbjq7F4EYd+kiZ9OUJWRqYnDGhRUyPDFitzxbs9LyfB/eclGiJcdSB
      aA==
      ----END CERTIFICATE----

      Also,I have added certification using below command.

      keytool -import -alias ca -file base64.cer -keystore cacerts -storepass changeit

      I am using Jenkins ver. 2.13. Every time it show below error when I run the job. My username and password are 100% correct. Don't know what I did wrong here.

      Building in workspace C:\Program Files (x86)\Jenkins\workspace\Test
      FTP: Connecting from host [CIPL-6PC198]
      FTP: Connecting with configuration [Invoice] ...
      220 Microsoft FTP Service
      AUTH TLS
      234 AUTH command ok. Expecting TLS Negotiation.
      FTP: Logging in, command printing disabled
      FTP: Logged in, command printing enabled
      CWD /
      250 CWD command successful.
      TYPE I
      200 Type set to I.
      CWD /
      250 CWD command successful.
      CWD bin
      250 CWD command successful.
      PASV
      227 Entering Passive Mode (45,63,4,160,195,109).
      STOR myfile.txt
      534 Policy requires SSL.
      FTP: Disconnecting configuration [Invoice] ...
      ERROR: Exception when publishing, exception message [Could not write file. Server message: [534 Policy requires SSL.
      ]]
      Build step 'Send build artifacts over FTP' changed build result to UNSTABLE
      Finished: UNSTABLE

      Can you suggest me what type configuration required or I missed out.

            Unassigned Unassigned
            bhaveshsoft1 Bhavesh Patel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: