Hi, Yes I followed as you explained in http://openejb.979440.n4.nabble.com/ejb-standalone-server-rest-over-https-td4664091.html
but I too got the following SEVERE: BAD REQUEST java.io.IOException: Could not read the HTTP Request Line :javax.net.ssl.SSLHandshakeException : no cipher suites in common at org.apache.openejb.server.httpd.HttpRequestImpl.readRequestLine(HttpRequestImpl.java:391) at org.apache.openejb.server.httpd.HttpRequestImpl.readMessage(HttpRequestImpl.java:337) at org.apache.openejb.server.httpd.OpenEJBHttpServer.process(OpenEJBHttpServer.java:217) at org.apache.openejb.server.httpd.OpenEJBHttpServer.processRequest(OpenEJBHttpServer.java:193) I tried to use the following as settings Properties properties = new Properties(); properties.put(EJBContainer.APP_NAME, "OpenEjbSample"); properties.setProperty("httpejbd.port", "9998"); properties.setProperty("httpejbd.secure", "true"); properties.setProperty("enabledCipherSuites", "SSL_RSA_WITH_RC4_128_SHA,SSL_DH_anon_WITH_3DES_EDE_CBC_SHA"); properties.setProperty("ejbds.secure", "true"); properties.setProperty(OpenEjbContainer.OPENEJB_EMBEDDED_REMOTABLE, "true"); EJBContainer.createEJBContainer(properties).getContext().bind("inject", this); Kalyan On Sun, Dec 8, 2013 at 10:54 AM, Romain Manni-Bucau <rmannibu...@gmail.com>wrote: > Did you try httpejbd.secure? > Le 8 déc. 2013 02:02, "Radhakrishna Kalyan" <nrkkal...@gmail.com> a écrit > : > > > Hi > > > > I am trying to create a rest application using openejb. > > I can able to call my rest endpoints successfully as below > > *http://127.0.0.1:9998/OpenEjbSample/ping > > <http://127.0.0.1:9998/OpenEjbSample/ping>* > > However I want to know how can I able access the same over *https*,I saw > in > > the documentation something about *ejbds* is in openejb and its > equivalent > > is https in tomee. But I don't want to use tomee application server. I > > want to perform the same from a standalone java application from public > > static void main(String[]..). > > Is there something I am missing. > > > > Please let me know which kind of settings do I need to use in my > > application. > > Currently I am using '*properties.setProperty("ejbds.secure", "true")*' > and > > I think its wrong in my case. > > > > > > > > > > -- > > Thanks and Regards > > N Radhakrishna Kalyan > > > > P: +46 733 312 584 > > http://about.me/nrkkalyan > > <http://about.me/nrkkalyan> > > > -- Thanks and Regards N Radhakrishna Kalyan P: +46 733 312 584 http://about.me/nrkkalyan <http://about.me/nrkkalyan>