English 中文(简体)
游乐框架: 内部网络服务的主楼
原标题:Play Framework: Keystore for internal web services

我们再试图迎来玩乐,与我们的内务委员会会谈。 我们以前的所有数据都是在超高技能的联合渔业论坛框架中撰写的——但是,由于联合渔业论坛的镜子被部署在玻璃鱼盒上,我们在那里安装了玻璃鱼证书,能够与我们的共同渔业委员会网络服务机构进行沟通,因此,他们与我们的共同渔业机制进行了细致的讨论。

现在,我们正试图发挥同样的作用,我们又再次遇到困难,因为我们想要掌握净值的游戏。 我们如何获得进口到钥匙库(或类似)的证书,以便它们能够与我们的客户关系机制交流? 由于CRM是公司内部的,证书是自签的,按需要分发。

我在游戏大厅里尝试了以下内容——但我不相信这一点,因为这些混杂物似乎更多地用于游戏服务器本身,而不是用于游戏机向另一个服务部门进行通信。

# Keystore 
trustmanager.algorithm=jks
ssl.KeyManagerFactory.algorithm=SunX509
keystore.algorithm=jks
keystore.password=changeit
keystore.file=conf/cacerts.jks

我们的另外一位发展者能够做到这一点,但我们不得不将这项工作直接列入我们不理想的法典。

System.setProperty("javax.net.ssl.trustStore", "C:/webapps/playapp1/cacerts.jks");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
System.setProperty("javax.net.ssl.keyStoreType", "jks");
System.setProperty("javax.net.ssl.keyStore", "C:/webapps/playapp1/keystore.jks");
System.setProperty("javax.net.ssl.keyStorePassword", "changeit");

值得注意的是,我们的客户关系机制建立了我们投身于我们的共同财产基金或 app子,以总结我们的网络服务,因此我们不必为每个服务制定客户守则(类似于你将下载的Jan S3服务)。 这一服务年限利用离岛的泽西人通过XML/休息向我们提供服务。 当我们不再使用SSL时,它在游戏框架中的工作就算得很出色。

问题回答

What version of play are you using? I know i actually had to recompile playframework, because it had disabled the secure support. But i think that was version 1.1





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签