<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV><SPAN ></SPAN>From: chenp1414@163.com<BR>To: "thomas d. uram" <TURAM@MCS.ANL.GOV><BR>Date: Fri, 19 May 2006 22:19:07 +0800 (CST)<BR>Subject: Re: Re: [AG-TECH] how to request a certif icate, not use cli entUI<BR><BR>
<DIV>
<DIV>Thanks for your help!</DIV>
<DIV>&nbsp;</DIV>
<DIV>I&nbsp;want to automatically request an identity certificate, not an anonymous certificate.</DIV>
<DIV>The identifying information you said (including First name, Last name, E-mail, Domain, Passphrase,) is provided by a file named information.txt, which is created by javascript(This step has been finished by others).</DIV>
<DIV>My job is reading the identifying information from the file and automatically requesting an identity certificate when the&nbsp;program running.</DIV>
<DIV>If&nbsp;the certificate&nbsp;was ready(the user need not know when it is ready), an other program can install the certificate to the default space.</DIV>
<DIV>All of these don't need the client user interface as show by the email attachment.</DIV>
<DIV>The user just know he/she need to run these two programs, but don't know what is done.</DIV>
<DIV>&nbsp;</DIV>
<DIV>how to solve it?</DIV>
<DIV>Any additional pointers?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best wishes!</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV><SPAN></SPAN>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px">
<HR color=#a0c6e5 SIZE=1>
<BR>-----原始邮件-----<BR>发件人:"Thomas D. Uram" <TURAM@MCS.ANL.GOV><BR>发送时间:2006-05-19 02:40:15<BR>收件人:"chenp1414" <CHENP1414@163.COM><BR>抄送:ag-tech@mcs.anl.gov<BR>主题:Re: [AG-TECH] how to request a certificate, not use cli entUI<BR><BR><BR><PRE style="WIDTH: 100%; WORD-WRAP: break-word">Hello:



AG2.4 will automatically request and retrieve an anonymous

certificate the first time a user starts it. You could look at

that code to see how it is done:



<A href="http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid/AccessGrid/Security/CertificateManager.py?rev=1.38.2.12&amp;content-type=text/vnd.viewcvs-markup" target=_new>http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid/AccessGrid/Security/CertificateManager.py?rev=1.38.2.12&amp;content-type=text/vnd.viewcvs-markup</A>



I can give you additional pointers if you need them.



If you were to automatically request an identity certificate,

you could collect at least some of the identifying information

from the system, but would have to either generate a passphrase

or prompt the user for one.



Tom



chenp1414 wrote:

&gt; hi!

&gt; i am using AGTK22.3 for windows.

&gt; i want to modify $AGTK\bin\CertificateManager.py or

&gt; $AGTK\bin\CertificateRequestTool.py to request certificate

&gt; automatically when running.

&gt; how can it get user information (including first name, last name,

&gt; email, domain, passphrase,ect ) from a file, not the clientUI ?

&gt; i also need a InstallCertificate.py to install the certificate if a

&gt; certificate request is reply.

&gt; what shall i do?

&gt; and any advise?

&gt;

&gt; thank you!

&gt;

&gt;

&gt;

&gt;

&gt;

&gt; &lt;<A href="http://www.126.com/" target=_new>http://www.126.com/</A>&gt;

</PRE><!-- CoreMail Version 2.5 Copyright (c) 2002-2006 www.mailtech.cn --></BLOCKQUOTE><BR><!-- footer --><BR><BR><BR><BR><BR>
<DIV style="BORDER-BOTTOM: #999 1px solid"></DIV><BR><FONT style="FONT-SIZE: 14px" color=black>你 不 想 试 试 今 夏 最 “酷” 的 邮 箱 吗 ?</FONT> <BR><A style="FONT-SIZE: 13px; COLOR: blue; LINE-HEIGHT: 160%" href="http://www.126.com/" target=_blank>蕴 涵 中 华 传 统 文 化 于 世 界 一 流 科 技 之 中,创 新 Ajax 技 术,126 “D 计 划”火 热 体 验 中 ! </A><br><!-- footer --><br><br><br><br><br><div style="border-bottom:1px solid #999"></div><br>

        <font color="black" style="font-size:14.8px">你 不 想 试 试 今 夏 最 “酷” 的 邮 箱 吗 ?</font>
        <br>
         <a href="http://www.126.com/" target="_blank" style="font-size:13px;line-height:160%;color:blue">蕴 涵 中 华 传 统 文 化 于 世 界 一 流 科 技 之 中,创 新 Ajax 技 术,126 “D 计 划”火 热 体 验 中 !
</a>