08-09-05 12:58 PM
I have TrustedCerts.class file in the path at the client end.
and this is the client code.
String args[] = new String[3];
args[0] = "-ORBEnableSSLSecurity";
args[1]="-ORBDebug";
args[2]="-ORBCommTrace";
s =
(Session) NotesFactory.createSession(
"web.hostname:63148",
args,
"test",
"test");
This works for connecting to DIIOP over SSL.
I have an issue when my JSP with the Domino taglibs need to connect to DIIOP
over SSL.
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/domutil.tld" prefix="domutil" %>
<%@ taglib uri="/WEB-INF/domtags.tld" prefix="domino" %>
<%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix="portletAPI" %>
<%@ page
language="java"
contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"
%>
<portletAPI:init />
<%
String username="test";
String password="test";
%>
<domino:view viewname="(Web-Test)" dbserver="CN=xyz/O=ABC" dbname="test/tes
t.nsf" userId="<%=username %>" password="<%= password %>" host="web.hostname
:63148" ftsearch="<%=searchstring%>">
How do I make this connect over SSL.
Thanks
Dhiren
[ Post a follow-up to this message ]
|