how to pass "echo t | " input to subprocess.check_output() method

Duncan Booth duncan.booth at invalid.invalid
Mon Nov 26 13:17:21 CET 2012

dachakku at wrote:

> Hi Duncan,
> I tried using --non-interactive --trust-server-cert, but the call
> fails with error message, svn: E175002: OPTIONS of
> '': Server certificate verification failed:
> certificate issued for a different hostname, issuer is not trusted
> ( 
> that's why I want to pass an input to accept the certificate
> (t)emporarily or (p)ermanently. 

I think you probably need to configure your web server so the certificate 
is valid for whichever hostname you use (if the svn server is also used by 
other machines then connect to it using the external hostname rather than 

Or just use http:// configured to allow access through localhost only.

Duncan Booth

More information about the Python-list mailing list