首页 \ 问答 \ 为Websphere MQ使用Weblogic密钥库(Using Weblogic keystores for Websphere MQ)

为Websphere MQ使用Weblogic密钥库(Using Weblogic keystores for Websphere MQ)

我配置了自定义标识密钥库和自定义信任密钥库。 配置是正确的,因为在日志中我可以看到:

Loading the identity certificate and private key stored under the alias wlserver from the jks keystore file C:\home\dev\keystore
Loading trusted certificates from the jks keystore file C:\home\dev\truststore

在已部署的应用程序中,我有一个MDB,它使用安全通道通过JMS在MQ中读取消息。 SSL调试日志显示在建立连接时使用了错误的密钥库。

<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <trustStore provider is :>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <trustStore type is : jks>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <init truststore>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <trustStore is: C:\home\projects\jdk\jre\lib\security\cacerts>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <init keymanager of type SunX509>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <init keystore>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <keyStore provider is :>

如果我通过指定-Djavax.net.ssl.trustStore -Djavax.net.ssl.keyStore -Djavax.net.ssl.keyStorePassword启动weblogic,则安全的MDB连接可以正常工作。

我应该如何配置Weblogic,以便我部署的应用程序使用Weblogic密钥库?


I configured a Custom Identity Keystore and a Custom Trust Keystore. The configuration is correct since in the log I can see:

Loading the identity certificate and private key stored under the alias wlserver from the jks keystore file C:\home\dev\keystore
Loading trusted certificates from the jks keystore file C:\home\dev\truststore

In a deployed app I have a MDB that reads message in MQ using a secure channel via JMS. The SSL debug log shows that the wrong keystores are used when establishing the connection.

<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <trustStore provider is :>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <trustStore type is : jks>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <init truststore>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <trustStore is: C:\home\projects\jdk\jre\lib\security\cacerts>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <init keymanager of type SunX509>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <init keystore>
<Jul 5, 2013 5:04:01 PM CEST> <Notice> <Stdout> <BEA-000000> <keyStore provider is :>

If I start weblogic by specifying -Djavax.net.ssl.trustStore -Djavax.net.ssl.keyStore -Djavax.net.ssl.keyStorePassword, the secure MDB connection works.

How should I configure Weblogic so my deployed app use Weblogic keystores?


原文:https://stackoverflow.com/questions/17671337
更新时间:2023-05-27 08:05

最满意答案

vertica 无 master 全部机都是master 而 greeplum 只能有一台master,然后做一个master的备份。

这是对程序应用的稳定性起了最关键的作用。gp master关了,然后就不能连了。。要手动切换到master的备份。而vertica 3台机做一个备份策略的话,连接时写上三个节点的ip就不会挂。

现在国内做得最后的还有南大通用的g8,他是学vertica的。不过他所为的“组”比较坑。加大了安全风险。

执行速度对比。vertica能秒杀一切mpp。毕竟是数据库发明者开发的。。而且安装简单90M多的数据库。缺点就是太贵太贵了。一个T数据要15万左右。而且是按入库前的大小。vertica 进库后是会压缩10倍的。如果数据不多。1个T左右,可以使用vertica的社区版。功能一样,3台x86秒杀500万的p570 oracle ..

greenplum与vertica都是基于postgresql开发的,语法与oracle 有95%以上的相似。什么to_date,to_char等。而g8是基于mysql语法的。

其他回答

临劣镭倮禾司
你好!

GRE Graduate Record Examination 美国研究生入学考试 
TOEFL 用以测试您的北美英语水平能力的考试,如果您要到美加等的联邦国家留学,托福则是必考之试了!

如有疑问,请追问。

相关问答

更多
  • vertica 无 master 全部机都是master 而 greeplum 只能有一台master,然后做一个master的备份。 这是对程序应用的稳定性起了最关键的作用。gp master关了,然后就不能连了。。要手动切换到master的备份。而vertica 3台机做一个备份策略的话,连接时写上三个节点的ip就不会挂。 现在国内做得最后的还有南大通用的g8,他是学vertica的。不过他所为的“组”比较坑。加大了安全风险。 执行速度对比。vertica能秒杀一切mpp。毕竟是数据库发明者开发的。。而 ...
  • with是选择的一部分。 insert into newtable with subtable as (......) select * from subtable with is part of the select. insert into newtable with subtable as (......) select * from subtable
  • 您真的不想在Vertica中进行更新。 插入很好。 选择很好。 但我强烈建议远离任何更新或删除的东西。 该系统针对读取大量数据和插入大量数据进行了优化。 所以,既然你想做一个2中的1个操作,我会建议反对它。 如您所述,您可以将语句拆分为插入和更新。 我会推荐什么,不知道你想做什么的细节,所以这可能会有所变化: 1)将来自外部源的数据插入到临时表中。 2)使用您正在考虑的标准,从该表执行和INSERT-SELECT到您想要的表中。 要么使用连接,要么使用带有子查询的两个语句来测试要测试的表。 3)截断登台表。 ...
  • 您可以在Vertica中创建UDX,但它没有会话句柄,因此您只能访问通过API公开的数据。 会话数据未公开。 你需要执行一个查询来完成它。 SELECT COUNT(*) FROM sessions; create C++(count_it.cpp ) #include "Vertica.h" #include #include #include using namespace Vertica; using namespace std; cl ...
  • 遵循Vertica文档: 您无法自行创建VString或VNumeric实例。 您可以操纵HP Vertica传递到UDx的这些类的现有对象的值,并从中提取值。 但是,只有HP Vertica可以实例化这些类。 Following to Vertica documentation: You cannot create instances of VString or VNumeric yourself. You can manipulate the values of existing objects of ...
  • 如果您不是表格的所有者,或者没有权限查看表格,那么您很可能无法看到所有者是谁: SELECT table_schema, table_name, owner_name FROM v_catalog.tables; 文档 If you're not the owner of the table, or do not have have privileges to see the table, then you most likely won't be able to see who the owner is ...
  • 我添加了一个错误版本的vertica jdk,我认为它与新功能不兼容。 所以请检查您的版本是否存在此类错误:) I had added a wrong version of vertica jdk which I assume was not compatible for the new feature. So do check in your versions for such errors :)
  • EXPLAIN显示NO STATISTICS 。 这些需要更新 。 在这种情况下,Vertica将使用SIP优化谓词: Sideways Information Passing(SIP)通过在计划中尽早过滤数据,有效地提高了连接性能。 它可以被认为是谓词下推的高级变体,因为连接被用来进行过滤[27]。 例如,考虑使用简单的等式谓词连接两个表的HashJoin。 在开始从外部输入读取数据以进行连接之前,HashJoin将首先从内部输入创建哈希表。 特殊SIP过滤器在优化器规划期间构建并放置在Scan运算符中。 ...
  • 问题是其中一个群集已设置为与私有子网不同的子网上的EXPORT。 做netcat,我发现: 我的新群集发送旧群集是正确的私人节点IP 旧集群正在使用它的节点公共IP进行响应,即使“从节点中选择*”也是如此。 正在返回私人IP 从此我跑了: select * from vs_subnets; select database_name, export_subnet from databases; 事实证明有人(很久以前)已经将旧群集配置为使用公有子网。 您可以通过运行来恢复此操作: ALTER DATABAS ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)