In a few days I have to renew the SSL certificate on a Domino 9.0.1 FP10 server. I already have the certificate ready to import it in the keyfile.kyr. They have sent me a .crt file. What is the procedure to follow to change a certificate that is going to expire for a new certificate? Do I have to use the kyrtool tool? Is it necessary to concatenate in a .txt file the root certificate, intermediate certificates, renewed certificate and key to keyfile.kyr?
Can you provide me with a procedure to do it? In HCL there is a procedure to do it with Certificate Requests database but I can't do it.
When I first did it I used kyrtool and had a lot of trouble importing everything I needed. I would be very grateful if someone could help me to do it in the most efficient and simple way.
Copy your keyring and password files from the server to a temp location (e.g. c:\temp\keyring.kyr, c:\temp\keyring.sth) then rename them to newkeyring.*
Import the root certificate and any intermediate certificates into the keyring (try to go in order, top level first): kyrtool.exe import roots -i c:\temp\carootcert.crt -k c:\temp\newkeyring.kyr kyrtool.exe import roots -i c:\temp\caIntermediate1.crt -k c:\temp\newkeyring.kyr kyrtool.exe import roots -i c:\temp\caIntermediate2.crt -k c:\temp\newkeyring.kyr
Import the new certificate from the SSL provider into the keyring: kyrtool.exe import certs -i c:\temp\newcertificate -k c:\temp\newkeyring.kyr
To test the *kyr-file: kyrtool.exe show certs -i c:\temp\newcertificate -k c:\temp\newkeyring.kyr
Copy the new keyring and password files to the server, goto the server document, change the names (so you can revert the process, restart at least the http-task and start using them.
I don't know if this helps at all, but here is a document I authored a while ago when I was performing this procedure for the first time. All the information form various sources (IBM; DeveloperWorks & other third parties) was spread all over the place, so I decided to gather it all together in this one document for our internal purposes.
1) Place all the certificate related files (server.key, server.crt, intermed.crt, root.crt) in one folder example folder name "cert" in d drive d:\cert.
2) Open a command prompt and switched to the path "cert" on the d drive.
3) Concatenated the all these file to one file using the type command in the command prompt window.
6) Merging the required certificate in the keyfile.kyr using the below command.
>kyrtool.exe =c:\IBM\notes\notes.ini import all -k c:\IBM\notes\data\keyfile.kyr -i d:\cert\server.txt
7) Final steps to verify the certificates in the key file
>kyrtool =c:\IBM\notes\notes.ini show certs -k c:\IBM\notes\data\keyfile.kyr
8) Now copy these files from the Notes data directory "keyfile.kyr and keyfile.sth" and use it on the Domino server data directory. If the existing name of the keyfile.kyr is different in the server document or internet site document then, please rename these files before copying to match with the previous server/internet site document in the Domino directory.. example as below.
Thank you very much everyone for responding quickly. All the answers are very valid. I will try to do it as you recommend and I will tell you about it.