[Search] Search   [Register] Register /  [Login] Login 
Resin3.1.12 SSL 관련 질문
Forum Index » Resin Server Q&A
Author Message
mgbaek



안녕하세요

WindowServer - Resin3.1.12에 SSL 적용하다 오류가 나서 질문드립니다.

PEM으로 설치하고 있고 (cert.pem, key.pem, RapidSSL-chain.pem)

해당 파일들 위치는 resin_home/conf/ssl 하위에 위치하고있습니다.

<http address="*" port="80"/>
<http address="*" port="443">
<openssl>
<certificate-file>conf/ssl/cert</certificate-file>
<certificate-key-file>conf/ssl/key</certificate-key-file>
<certificate-chain-file>conf/ssl/RapidSSL-chain</certificate-chain-file>
<password>test123</password>
</openssl>
</http>

Resin.conf에 위와같이 설정 추가했고, 재시작 후에 다음과 같은 에러가 발생합니다.


[jvm-a.log]
Starting Resin on Mon, 18 Jan 2016 18:58:21 +0900 (KST)
SSL JNI was not properly initialized. Make sure the resinssl library is properly created and the SSL libraries are installed.
java.lang.UnsatisfiedLinkError: no resinssl in java.library.path
Resin-3.1.12 (built Mon, 29 Aug 2011 03:22:08 PDT)
Copyright(c) 1998-2008 Caucho Technology. All rights reserved.
1014523.license -- expired 13-01-11 -- 1 Resin server XEST
Resin Professional has not found any valid licenses.
Licenses belong in D:\resin-pro-3.1.12\licenses.
See http://www.caucho.com/sales for licensing information.
Using Resin Open Source under the GNU Public License (GPL).
See http://www.caucho.com for information on Resin Professional.


[resin-a.log]
[2016-01-18 19:58:20.942] {main} java.lang.UnsatisfiedLinkError: no resinssl in java.library.path
[2016-01-18 19:58:20.942] {main} at java.lang.ClassLoader.loadLibrary(ClassLoader.java:173
[2016-01-18 19:58:20.942] {main} at java.lang.Runtime.loadLibrary0(Runtime.java:823)
[2016-01-18 19:58:20.942] {main} at java.lang.System.loadLibrary(System.java:102
[2016-01-18 19:58:20.942] {main} at com.caucho.vfs.OpenSSLFactory.<clinit>(OpenSSLFactory.java:567)
[2016-01-18 19:58:20.942] {main} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[2016-01-18 19:58:20.942] {main} at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[2016-01-18 19:58:20.942] {main} at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[2016-01-18 19:58:20.942] {main} at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[2016-01-18 19:58:20.942] {main} at java.lang.Class.newInstance0(Class.java:355)
[2016-01-18 19:58:20.942] {main} at java.lang.Class.newInstance(Class.java:30
[2016-01-18 19:58:20.942] {main} at com.caucho.server.port.Port.createOpenssl(Port.java:404)
[2016-01-18 19:58:20.942] {main} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2016-01-18 19:58:20.942] {main} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2016-01-18 19:58:20.942] {main} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2016-01-18 19:58:20.942] {main} at java.lang.reflect.Method.invoke(Method.java:597)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.attribute.CreateAttribute.create(CreateAttribute.java:106)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:512)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.ConfigContext.configureNode(ConfigContext.java:370)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:51
[2016-01-18 19:58:20.942] {main} at com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:327)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:56)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:80)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:61)
[2016-01-18 19:58:20.942] {main} at com.caucho.boot.BootManager$ClusterConfig.createServer(BootManager.java:27
[2016-01-18 19:58:20.942] {main} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2016-01-18 19:58:20.942] {main} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2016-01-18 19:58:20.942] {main} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2016-01-18 19:58:20.942] {main} at java.lang.reflect.Method.invoke(Method.java:597)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.attribute.CreateAttribute.create(CreateAttribute.java:106)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:512)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.ConfigContext.configureNode(ConfigContext.java:370)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:51
[2016-01-18 19:58:20.942] {main} at com.caucho.config.ConfigContext.configureNode(ConfigContext.java:370)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.ConfigContext.configureBean(ConfigContext.java:289)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.ConfigContext.configure(ConfigContext.java:247)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.Config.configure(Config.java:242)
[2016-01-18 19:58:20.942] {main} at com.caucho.config.Config.configure(Config.java:170)
[2016-01-18 19:58:20.942] {main} at com.caucho.boot.ResinBoot.<init>(ResinBoot.java:123)
[2016-01-18 19:58:20.942] {main} at com.caucho.boot.ResinBoot.main(ResinBoot.java:293)
[2016-01-18 19:58:24.865] {main} java.lang.UnsatisfiedLinkError: no resinssl in java.library.path
[2016-01-18 19:58:24.865] {main} at java.lang.ClassLoader.loadLibrary(ClassLoader.java:173
[2016-01-18 19:58:24.865] {main} at java.lang.Runtime.loadLibrary0(Runtime.java:823)
[2016-01-18 19:58:24.865] {main} at java.lang.System.loadLibrary(System.java:102
[2016-01-18 19:58:24.865] {main} at com.caucho.vfs.OpenSSLFactory.<clinit>(OpenSSLFactory.java:567)
[2016-01-18 19:58:24.865] {main} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[2016-01-18 19:58:24.865] {main} at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[2016-01-18 19:58:24.865] {main} at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[2016-01-18 19:58:24.865] {main} at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[2016-01-18 19:58:24.865] {main} at java.lang.Class.newInstance0(Class.java:355)
[2016-01-18 19:58:24.865] {main} at java.lang.Class.newInstance(Class.java:30
[2016-01-18 19:58:24.865] {main} at com.caucho.server.port.Port.createOpenssl(Port.java:404)
[2016-01-18 19:58:24.865] {main} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2016-01-18 19:58:24.865] {main} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2016-01-18 19:58:24.865] {main} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2016-01-18 19:58:24.865] {main} at java.lang.reflect.Method.invoke(Method.java:597)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.attribute.CreateAttribute.create(CreateAttribute.java:106)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:512)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.ConfigContext.configureNode(ConfigContext.java:370)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:51
[2016-01-18 19:58:24.865] {main} at com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:327)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:56)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:80)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:61)
[2016-01-18 19:58:24.865] {main} at com.caucho.server.cluster.Cluster.createServer(Cluster.java:281)
[2016-01-18 19:58:24.865] {main} at com.caucho.server.cluster.Machine.createServer(Machine.java:106)
[2016-01-18 19:58:24.865] {main} at com.caucho.server.cluster.Cluster.createServer(Cluster.java:273)
[2016-01-18 19:58:24.865] {main} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2016-01-18 19:58:24.865] {main} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2016-01-18 19:58:24.865] {main} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2016-01-18 19:58:24.865] {main} at java.lang.reflect.Method.invoke(Method.java:597)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.attribute.CreateAttribute.create(CreateAttribute.java:106)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:512)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.ConfigContext.configureNode(ConfigContext.java:370)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:51
[2016-01-18 19:58:24.865] {main} at com.caucho.config.ConfigContext.configureNode(ConfigContext.java:370)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.ConfigContext.configureBean(ConfigContext.java:289)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.ConfigContext.configure(ConfigContext.java:247)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.Config.configure(Config.java:242)
[2016-01-18 19:58:24.865] {main} at com.caucho.config.Config.configure(Config.java:170)
[2016-01-18 19:58:24.865] {main} at com.caucho.server.resin.Resin.initMain(Resin.java:1150)
[2016-01-18 19:58:24.865] {main} at com.caucho.server.resin.Resin.main(Resin.java:1365)


확인 부탁드리겠습니다.

This message was edited 1 time. Last update was at 19/01/2016 09:14:15

Admin

[Avatar]


안녕하세요

SSL 설정은 정상적으로 설정이 된것으로 보입니다.
LICENSE 만료가 되었네요.
보안프로토콜(openssl, Jsse) 사용은 Resin Professional 기능입니다.

감사합니다.
 
Forum Index » Resin Server Q&A
Go to: