我試圖登錄到顛覆,我已經永久存儲的證書,但我不斷收到此錯誤:當我嘗試從Perl登錄到Subversion時,爲什麼會得到「發行者不可信」?
RA layer request failed: PROPFIND request failed on
'/svn/QFlife/Projects%20DotNet/QFX/trunk/Clients'
: PROPFIND of'/svn/QFlife/Projects%20DotNet/QFX/trunk/Clients'
: Server certificate verification failed: issuer is not trusted (https://vc.flife.de) at list.pl l
這是代碼,這是負責身份驗證:
sub getauth
{
my $cred = shift;
$cred->username($user);
$cred->password($passwd);
}
my $ctx = SVN::Client->new
(
auth => [ SVN::Client::get_simple_provider(),
SVN::Client::get_simple_prompt_provider
(
\&getauth,2
),
SVN::Client::get_username_provider()
],
);
有人能給我一個線索我做錯了什麼?
是'$ user'和'getauth'的上下文中定義'$ passwd' ?他們有效嗎? – Axeman 2010-10-14 15:48:04
是的,這些變量是有效的。 – 2010-10-15 07:09:24