203 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
Latest 7 Posts
View.html.index cannot be resolved to a type
Wed, Mar 8th 2017 9
Kill Play Framework process
Thu, Jan 12th 2017 7
Play Framework project in production - Building process
Thu, Jan 12th 2017 8
Play Framework project in production - Application Secret
Thu, Jan 12th 2017 9
HTTP Routing in Play Framework
Sun, Dec 25th 2016 7
Template literals
Fri, Dec 23rd 2016 11
Actions in Play Framework 2.5
Thu, Dec 22nd 2016 7
Top 10
Domino and No trusted certificate found
Tue, Jan 28th 2014 25
Insufficient memory - NSF pool is full
Mon, Jun 15th 2015 16
Refresh embedded view solutions
Mon, May 4th 2015 11
Template literals
Fri, Dec 23rd 2016 11
Disabling certificate validation in Java
Mon, Apr 28th 2014 10
ColumnValuesIndex property of NotesViewColumn
Tue, May 5th 2015 9
Play Framework project in production - Application Secret
Thu, Jan 12th 2017 9
View.html.index cannot be resolved to a type
Wed, Mar 8th 2017 9
Issues when importing WSDL files into Web Service Consumer
Mon, Sep 8th 2014 8
Setup Play Framework and TypeSafe on centOS
Wed, Oct 14th 2015 8

Domino and No trusted certificate found
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious

We have few agents that communicate with other systems via and today at 13:00 we got such answer from Domino when we tried to set connection with external system. That was a huge problem for us since it affect our business.
javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: No trusted certificate found
at com.ibm.jsse2.o.a(o.java:8)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:549)
at com.ibm.jsse2.kb.a(kb.java:355)
at com.ibm.jsse2.kb.a(kb.java:130)
at com.ibm.jsse2.lb.a(lb.java:135)
at com.ibm.jsse2.lb.a(lb.java:368)
at com.ibm.jsse2.kb.s(kb.java:442)
at com.ibm.jsse2.kb.a(kb.java:136)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:495)
at com.ibm.jsse2.SSLSocketImpl.h(SSLSocketImpl.java:223)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:724)
at com.ibm.jsse2.SSLSocketImpl.startHandshake(SSLSocketImpl.java:81)
at com.ibm.net.ssl.www2.protocol.https.c.afterConnect(c.java:8)
at com.ibm.net.ssl.www2.protocol.https.d.connect(d.java:20)

It took some time to fix it, but here is a solution


A Java application running on a Domino server connecting over SSL to another server may require having the SSL certificate authority of the other server imported into its JVM.


When a Java application running on a Domino server connects over SSL to another server, but does not have that server's trusted root certificates, an error may occur. One example of such an error is: HTTP JVM: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.g: No trusted certificate found


The trusted root certificates that signed the remote server's SSL certificate must be also be trusted by the Domino server's JVM if a Java application is making an SSL connection.

Resolving the problem

To add the trusted root certificates to a Domino server JVM follow these steps:

A. Obtain the Certificate to be Imported

Each browser displays certificates in different ways, but they are usually quite similar. On the browser's URL bar, there is usually a zone that you can click on to display SSL certificate information. For example, you may see a padlock in the status bar, and clicking on the padlock opens the certificate information. Once the certificate information is open, click on the "Certification Path" informatino. There normally will be a way to export each of the signing certificates (trusted roots). Export the certifiers in the "Base-64 encoded X.509 (.CER)" format. The exported file in this format will be an ASCII text file that has "BEGIN CERTIFICATE" and "END CERTIFICATE" lines at the top and bottom. Once you have exported the certificates that signed the remote server's SSL certificate you can then import them into the JVM.

B. Import the SSL certifier into the JVM.

If Domino is on a UNIX server, perform these steps on a Windows workstation, and then move the cacerts to the server after the import is completed.

Import the SSL Certificate into the JVM using these steps:

  • Open a command line and change directory to C:LotusDominojvmbin.
  • Run the batch file "IKEYMAN.exe" (a Java application will load).
  • Click "Key Database File" then "Open".
  • Browse to C:LotusDominojvmlibsecuritycacerts. Note, you will have to view "All Files" to locate cacerts.
  • Supply the default password of "changeit". Note, consult your administrator if you receive an error pertaining to the password.
  • Select "Signer Certificates" in the drop-down menu.
  • Click "Add"
  • Select "Browse" and locate the .CER file you copied.
  • Click "OK" and enter a descriptive label.
  • On the Domino console issue the command "restart task http".
Original link I found on IBM Importing an SSL Certificate Authority into the JVM

Jan 28, 2014
26 hits

Recent Blog Posts
View.html.index cannot be resolved to a type
Wed, Mar 8th 2017 2:31p   Dmytro Pastovenskyi
If your play project in eclipse says that it can't resolve a type (see message below), but you are certain that everything should be fine$ View.html.index cannot be resolved to a type try to make a clean compile$ activator clean compile eclipseIt helped me to resolve my issue.
Kill Play Framework process
Thu, Jan 12th 2017 12:08p   Dmytro Pastovenskyi
When we run application in DEV mode (using command activator run) the process normally will be killed when terminal is closed. It's pretty easy since PID is started/closed automatically and therefore we do not care about it at all.Once we start application in PROD mode there is a file RUNNING_PID is created (./target/universal/stage/RUNNING_PID). There is a command (since version 2.4) in activator (stopProd) which will close PID$ activator stopProdAlternatively you can just kill process 'manua
Play Framework project in production - Building process
Thu, Jan 12th 2017 9:31a   Dmytro Pastovenskyi
We want to deploy our Play project to production environment. Create a binary version of applicationThere are two commands that can help you to make a build. Simply run dist or universal:packageZipTarball in Play console and wait$ dist$ universal:packageZipTarballResult will be a ZIP or TGZ file located in target/universal folder with everything needed for you project (it means you do not need to install SBT or Activator on your server, just pure Java). Once you extract ZIP you will find 2 runne
Play Framework project in production - Application Secret
Thu, Jan 12th 2017 7:00a   Dmytro Pastovenskyi
I am going to make series of articles about how to deploy Play Framework (version 2.5) application on centOS together with build system Jenkins. I'm doing this first time and want to document everything for myself and at the same time I hope it can be useful for somebody else as well. Before I wrote few articles how to setup hello-world project on centOS or macOS however now I'm going to work on production setup. I assume you already have you hello-world project and clean centOS environment.
HTTP Routing in Play Framework
Sun, Dec 25th 2016 7:55p   Dmytro Pastovenskyi
We are going to check how Play connect http requests with our code. F.x. when user hits http://localhost:9000/ what happens?HTTP RoutingThere is already built in http router in Play Framework. It allows to connect incoming requests with Play Action and therefore with public method in a controller class.Configuring HTTP RoutingNormally the configuration for HTTP routing is located in conf/routes. See example:# Static path GET /clients/all controllers.Clients.list() # Dynamic path GET /clients/:id
Template literals
Fri, Dec 23rd 2016 7:00a   Dmytro Pastovenskyi
I have to follow up with changes to ES6. Today I noticed template literals (there is also tagged template literals but that I will check later). I am really happy with that, it is simple and helps a lot.Template literals are a new feature in ES6 that provide us string template things!Let's have a look on real examplevar a = "Apples"; var b = 10; console.log(`I would like to buy ${b+b} ${a}.`); // I would like to buy 20 Apples.
Actions in Play Framework 2.5
Thu, Dec 22nd 2016 3:13p   Dmytro Pastovenskyi
Action - what is that?Requests that comes to application based on Play usually is processed by things which is called action. Action it is just a method that processes parameters of requests and sends result back to web client Example package controllers; import play.mvc.*; /** * This controller contains an action to handle HTTP requests * to the application's home page. */ public class HomeController extends Controller { /** * An action that renders an HTML page with a welcome messag
Hello World on Play Framework 2.5 on OSX
Wed, Dec 21st 2016 11:06a   Dmytro Pastovenskyi
Today we are going to make Hello World project based on Play Framework 2.5 on OS XI'm getting back to Play Framework again and I'm going to build simple start project.1. Checking if Java is installedMake sure you have java installed.java -versionIf java is installed you will see message like that:java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) 2. Installing Typesafe activator (current version is 1.3.
Programming Pascal's triangle
Thu, Dec 8th 2016 12:58p   Dmytro Pastovenskyi
What is Pascal's triangle?It is a triangular array which is consists from binomial coefficients (you can see visual representation of it below). To get more information check article on wiki: Pascal's triangle. I had a task where I needed to find out a value in a cell and what I only had were coordinates of it. I came with quit simple solution (Scala) which I really like. The idea is to move up from the initial cell to the borders (left and right, since I know the values there) and once I am

Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition