[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Generate Emails through Subversion

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Thu, 27 Jan 2011 06:40:49 -0600

On Jan 27, 2011, at 06:32, Waseem Bokhari wrote:

> I have used this link:
>
> http://blog.pengoworks.com/index.cfm/2008/2/5/SVN-postcommit-for-Windows
>
> Post-Commit Hook
>
> When I commit any file after putting all credentials in hook script. It
> prompts me a message.
>
>
> post-commit hook failed (exit code 1) with output:
> Error validating server certificate for 'https://scm002.netsolpk.com:8443':
> - The certificate is not issued by a trusted authority. Use the
> fingerprint to validate the certificate manually!
> Certificate information:
> - Hostname: scm002.netsolpk.com
> - Valid: from Mon, 06 Sep 2010 01:49:33 GMT until Thu, 03 Sep 2020 01:49:33
> GMT
> - Issuer: scm002.netsolpk.com
> - Fingerprint: b2:04:5b:4b:76:1a:d3:f3:a5:15:59:16:16:58:49:57:fb:ab:9e:1a
> (R)eject, accept (t)emporarily or accept (p)ermanently? svn: OPTIONS of
> 'https://scm002.netsolpk.com:8443/svn/WSBokhari': Server certificate
> verification failed: issuer is not trusted
> (https://scm002.netsolpk.com:8443)
> Error validating server certificate for 'https://scm002.netsolpk.com:8443':
> - The certificate is not issued by a trusted authority. Use the
> fingerprint to validate the certificate manually!
> Certificate information:
> - Hostname: scm002.netsolpk.com
> - Valid: from Mon, 06 Sep 2010 01:49:33 GMT until Thu, 03 Sep 2020 01:49:33
> GMT
> - Issuer: scm002.netsolpk.com
> - Fingerprint: b2:04:5b:4b:76:1a:d3:f3:a5:15:59:16:16:58:49:57:fb:ab:9e:1a
> (R)eject, accept (t)emporarily or accept (p)ermanently? svn: OPTIONS of
> 'https://scm002.netsolpk.com:8443/svn/WSBokhari': Server certificate
> verification failed: issuer is not trusted
> (https://scm002.netsolpk.com:8443)

I'm not familiar with that tutorial, but the above error messages indicate that your server is using an untrusted certificate. Either use a trusted certificate on your server, or instruct the svn client running on your server to accept the untrusted certificate. You'll have to do that once manually as whatever user the hook script is running as, that should save it in the correct config area for future use.

> 'sendEmail' is not recognized as an internal or external command,
> operable program or batch file.

Clearly, you don't have the program called sendEmail that the script is using. If you'll go back to the tutorial and take a look at the notes below the script, I think you'll find a link to where you can download it.
Received on 2011-01-27 13:41:35 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.