Skip to content

Explicitly use SSLv3 for post-receive hook #53

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

Merged
merged 1 commit into from
Aug 6, 2013
Merged

Explicitly use SSLv3 for post-receive hook #53

merged 1 commit into from
Aug 6, 2013

Conversation

hameno
Copy link

@hameno hameno commented Aug 4, 2013

I had the problem that mirrors where not automatically updated. After a lot of debugging of the post-receive hook I found the reason to be the following:

When Redmine runs on mod_passenger with apache2 with SSL on Debian 7 the post-receive hook fails. Apache2's mod_ssl configuration disables SSLv2 for security reasons. Ruby 1.9.3 still tries to connect using SSLv2 and fails to establish the connection. This PR changes the ssl version to SSLv3.

I had the problem that mirrors where not automatically updated. After a lot of debugging of the post-receive hook I found the reason to be the following:

When Redmine runs on mod_passenger with apache2 with SSL on Debian 7 the post-receive hook fails. Apache2's mod_ssl configuration disables SSLv2 for security reasons. Ruby 1.9.3 still tries to connect using SSLv2 and fails to establish the connection. This PR changes the ssl version to SSLv3.
@hameno
Copy link
Author

hameno commented Aug 4, 2013

The error message form Ruby:

HTTP_ERROR:SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: (null)

n-rodriguez pushed a commit that referenced this pull request Aug 6, 2013
Explicitly use SSLv3 for post-receive hook
@n-rodriguez n-rodriguez merged commit 947fce8 into redmine-git-hosting:master Aug 6, 2013
@hameno hameno deleted the patch-1 branch August 6, 2013 16:51
@n-rodriguez n-rodriguez self-assigned this Feb 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants