IE为自签名小程序要求两次安全证书批准

时间:2012-07-16 10:42:23

标签: security applet self-signed rxtx

使用RXTX和Java applet,我创建了一个拨打电话号码的小程序。 它很好,但是当浏览器加载applet时,安全证书批准弹出两次。 当我第一次出现安全弹出时点击RUN,为什么弹出再来。

我的applet在click2callapplet.jar中,并使用RXTXcomm.jar,这两者都是由同一证书自签名的。

java控制台的日志附在下面。任何形式的帮助都会得到很好的回应。

Java Plug-in 10.1.0.8
Using JRE version 1.7.0_01-b08 Java HotSpot(TM) Client VM
User home directory = C:\Users\hcluser2
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
Detected from bootclasspath: C:\\PROGRA~1\\Java\\jre7\\lib\\deploy.jar
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@156a6be
basic: Plugin2ClassLoader.addURL parent called for http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar
basic: Plugin2ClassLoader.addURL parent called for http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar
security: Blacklist revocation check is enabled
security: Trusted libraries list check is enabled
network: Cache entry found [url: http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar, version: null] prevalidated=false/0
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/ with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with cookie "JSESSIONID=00004p01LsRXIYU5nbHw-wTqpNy:-1"
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/ with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with cookie "JSESSIONID=00004p01LsRXIYU5nbHw-wTqpNy:-1"
cache: Reading Signers from 995 http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar | C:\Users\hcluser2\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\21db2eca-604fb61f.idx
cache:  Read manifest for http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar: read=449 full=449
security: Loading Deployment certificates from C:\Users\hcluser2\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
security: Loaded Deployment certificates from C:\Users\hcluser2\AppData\LocalLow\Sun\Java\Deployment\security\trusted.certs
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Validate the certificate chain using CertPath API
security: Loading certificates from Internet Explorer ROOT certificate store
security: Loaded certificates from Internet Explorer ROOT certificate store
security: Loading Root CA certificates from C:\Program Files\Java\jre7\lib\security\cacerts
security: Loaded Root CA certificates from C:\Program Files\Java\jre7\lib\security\cacerts
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: The certificate hasnt been expired, no need to check timestamping info
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if certificate is in Internet Explorer TrustedPublisher certificate store
security: User has granted the priviledges to the code for this session only
security: Adding certificate in Deployment session certificate store
security: Added certificate in Deployment session certificate store
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/ with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with cookie "JSESSIONID=00004p01LsRXIYU5nbHw-wTqpNy:-1"
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/ with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with cookie "JSESSIONID=00004p01LsRXIYU5nbHw-wTqpNy:-1"
security: Validate the certificate chain using CertPath API
security: The certificate hasnt been expired, no need to check timestamping info
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
network: Cache entry found [url: http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar, version: null] prevalidated=false/0
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/ with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar with cookie "JSESSIONID=00004p01LsRXIYU5nbHw-wTqpNy:-1"
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/ with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar with cookie "JSESSIONID=00004p01LsRXIYU5nbHw-wTqpNy:-1"
cache: Reading Signers from 994 http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar | C:\Users\hcluser2\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\24\4abc9f18-5d59227f.idx
cache:  Read manifest for http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar: read=86 full=1769
security: Validate the certificate chain using CertPath API
security: The certificate hasnt been expired, no need to check timestamping info
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
security: Checking if certificate is in Internet Explorer TrustedPublisher certificate store
security: User has granted the priviledges to the code for this session only
security: Adding certificate in Deployment session certificate store
security: Added certificate in Deployment session certificate store
security: Saving certificates in Deployment session certificate store
security: Saved certificates in Deployment session certificate store
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/ with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar with cookie "JSESSIONID=00004p01LsRXIYU5nbHw-wTqpNy:-1"
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/ with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/RXTXcomm.jar with cookie "JSESSIONID=00004p01LsRXIYU5nbHw-wTqpNy:-1"
security: Validate the certificate chain using CertPath API
security: The certificate hasnt been expired, no need to check timestamping info
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/ with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with cookie "JSESSIONID=00004p01LsRXIYU5nbHw-wTqpNy:-1"
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/ with proxy=DIRECT
network: Connecting http://172.30.13.226:9080/3in1srv/Click2CallJars/Click2CallApplet.jar with cookie "JSESSIONID=00004p01LsRXIYU5nbHw-wTqpNy:-1"
security: Validate the certificate chain using CertPath API
security: The certificate hasnt been expired, no need to check timestamping info
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 217677 us, pluginInit dt 20753021 us, TotalTime: 20970698 us
Telephone Number from JSP:0196523759
Telephone Prefix from JSP:9
basic: Applet initialized
basic: Starting applet
basic: completed perf rollup
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
>>> ATZ
<<< ATZ
<<< 
>>> ATDT9023523759
<<< OK
WARNING: Modem did not echo command.
<<< ATDT9023523759
basic: Applet made visible
basic: Applet started
basic: Told clients applet is started
basic: Starting applet teardown
basic: Finished applet teardown
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@156a6be
plugin2manager.parentwindowDispose

0 个答案:

没有答案