redhat4.5 linux samba笔记 2
2011-12-23 17:52
239 查看
If you are getting the below exception during Deploy AppEngine Project
step (in Eclipse), that means you need to import SSL certificate of
google.com into your cacerts file under JRE\LIB\SECURITY folder.
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate
(..........
Steps to import Google' SSL certifcate
=============================
(1) Visit https://appengine.google.com/ using your browser (I tried
this using IE6 but I am sure other browsers will have a similar
functionality).
(2) Click the "Lock" icon at the status bar. You will see Certificate
dialog. Click "Details" tab.
(3) Click "Copy to" button and follow the wizard. Select "DER
encoded.." on the Export File Format page. Click "Next"
(4) Browse to some folder, give it a name and click "Save". Example: d:\keystore\google.cer
(5) Run the below command from your JRE/BIN folder. Make sure you
adjust the locations of -keystore and -file in the below command.
keytool -import -keystore keytool -import -keystore D:\gbtn\jdk1.6.0_10\jre\lib\security\cacerts -file d:\keystore\google.cer
(7) Try Deploy again. If your Deploy tool is using the same JRE where
you imported the google SSL certificate in above steps, you should be
fine now.
step (in Eclipse), that means you need to import SSL certificate of
google.com into your cacerts file under JRE\LIB\SECURITY folder.
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown
Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate
(..........
Steps to import Google' SSL certifcate
=============================
(1) Visit https://appengine.google.com/ using your browser (I tried
this using IE6 but I am sure other browsers will have a similar
functionality).
(2) Click the "Lock" icon at the status bar. You will see Certificate
dialog. Click "Details" tab.
(3) Click "Copy to" button and follow the wizard. Select "DER
encoded.." on the Export File Format page. Click "Next"
(4) Browse to some folder, give it a name and click "Save". Example: d:\keystore\google.cer
(5) Run the below command from your JRE/BIN folder. Make sure you
adjust the locations of -keystore and -file in the below command.
keytool -import -keystore keytool -import -keystore D:\gbtn\jdk1.6.0_10\jre\lib\security\cacerts -file d:\keystore\google.cer
(7) Try Deploy again. If your Deploy tool is using the same JRE where
you imported the google SSL certificate in above steps, you should be
fine now.
相关文章推荐
- 【Linux笔记】samba源码安装及基本使用说明
- Linux之redhat-----Samba 企业应用案例
- Linux笔记 10 (samba 配置)
- redhat 安装配置samba实现win共享linux主机目录
- Linux笔记1——Linux下利用NFS和Samba在source insight上快速开发应用程序
- Linux 学习笔记_6_1.2_RedHat系列软件包管理(中)_RedHat系列软件包管理(中)_源码包安装
- Linux(RedHat,Centos)上scrapy详尽安装笔记
- Linux总结笔记6-配置Samba服务实现Linux和Windows之间文件共享
- VMware 4.5中安装Redhat Enterprise linux 3心得
- Linux 学习笔记:批量新增SAMBA用户的脚本
- Linux学习笔记之RedHat Enterprise Linux 6.4 使用 Centos 6 的yum源问题
- Python_Linux(RedHat,Centos)上scrapy详尽安装笔记
- linux整理笔记之六:samba软件包使用
- 学习笔记----linux samba 配置
- Linux 学习笔记_6_1.3_RedHat系列软件包管理(下)_脚本安装
- Linux笔记34-samba的搭建
- Linux 学习笔记_12_Windows与Linux文件共享服务_1.1_--Samba(下)Samba经典应用案例
- redhat enterprise linux 6.4 64位系统安装oracle11g,笔记
- 关于redhat下配置samba服务实现linux和window共享
- Linux 学习笔记_12_Windows与Linux文件共享服务_1.1_--Samba(下)Samba经典应用案例