Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-37089] How to configure "Publish over FTP plugin", I got "534 Policy requires SSL" error. #62

Open
jira-importer opened this issue Aug 1, 2016 · 1 comment

Comments

@jira-importer
Copy link
Collaborator

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.


Originally reported by bhaveshsoft1, imported from: How to configure "Publish over FTP plugin", I got "534 Policy requires SSL" error.
  • status: Open
  • priority: Minor
  • resolution: Unresolved
  • imported: 2022/01/10
@jira-importer
Copy link
Collaborator Author

slide_o_mix:

I will try and setup a server with TLS/SSL and see if I can replicate this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant