由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Help needed on Java mail security issue
相关主题
start up tomcat problemant javac error in eclipse 3.0?
A question about JRE and JDK:help:tomcat5 on FC4
谁给讲讲Java的版本?关于linux 下makefile求救!
安装tomcat不成功问个问题啊. JDK/JRE
Eclipse and java 1.6请教:用eclipse的话每次是否需要import java.lang java.io ??
如何在服务器端跟踪Java的运行?JDK8要出来了?
java.security.KeyStorehelp!!
xp 是不是不支持jave 阿?Java virtual machine
相关话题的讨论汇总
话题: java话题: mail话题: server话题: keystore
进入Java版参与讨论
1 (共1页)
T*****e
发帖数: 361
1
Hello all,
I am trying to send out some email notification from a windows server to an
email list using our mail server. However, I got the following
certification error (see details below).
My application is a simple java application running every 5 minutes. We use
Java 5 update 16.
I have also added our mail server's certificate to the default keystore of
the user account running this application, according to this page:
http://www.java-samples.com/showtutorial.php?tutorialid=210
I also adde
g*****g
发帖数: 34805
2
You seems to be using a test certificate on server side, the certificate
is not signed by a Trust CA for example. If you open it with your browser,
you'll see a warning.

an
use

【在 T*****e 的大作中提到】
: Hello all,
: I am trying to send out some email notification from a windows server to an
: email list using our mail server. However, I got the following
: certification error (see details below).
: My application is a simple java application running every 5 minutes. We use
: Java 5 update 16.
: I have also added our mail server's certificate to the default keystore of
: the user account running this application, according to this page:
: http://www.java-samples.com/showtutorial.php?tutorialid=210
: I also adde

T*****e
发帖数: 361
3
By the way, we have the same application running just fine on a server with
java 1.4. Don't know whether or not there is any difference between Java 1.4
and Java 5 regarding java mail.
T*****e
发帖数: 361
4
Yes, our certificate is not signed by a trusted CA. That is why I had to
manually add it to Java's keystore using Java's key tool. However, it does
not seem to work.
T*****e
发帖数: 361
5
It seems that I had made a mistake. I tried to add the certificate to the
current user's default key store location (c:\Documents and Settings\user.
name\.keystore) but it did not work. Then I tried to add it to JDK_HOME\jre
\lib\security\cacerts and JRE_HOME\lib\security\cacerts. This time it
worked just fine.
1 (共1页)
进入Java版参与讨论
相关主题
Java virtual machineEclipse and java 1.6
Java desktop如何在服务器端跟踪Java的运行?
Linux下安装一个Java软件出现异常java.security.KeyStore
请问Java 6.0 compliance level is unsupported什么意思?xp 是不是不支持jave 阿?
start up tomcat problemant javac error in eclipse 3.0?
A question about JRE and JDK:help:tomcat5 on FC4
谁给讲讲Java的版本?关于linux 下makefile求救!
安装tomcat不成功问个问题啊. JDK/JRE
相关话题的讨论汇总
话题: java话题: mail话题: server话题: keystore