Reparing SMPATCH DB
This documentation can be redistributed and/or modified under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
Unless required by applicable law, this documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
This documentation should not be used as a replacement for a valid Oracle service contract and/or an Oracle service engagement. Failure to follow Oracle guidelines for installation and/or maintenance could result in service/warranty issues with Oracle.
Use of this documentation is at your own risk!
First read Oracle document: https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1288579.1
The following is based on the information from the above URL from May 9, 2011.
Download and unzip "new cert for smpatch 26/04/2011 (2.84 KB)" (link found in above document). This file is used in the "keytool" command below (the "-file" option.). A copy of this file can be located at "/wsu/cit/ecs/global/smpatch/verisign-chain-ca-2048bit.crt".
Execute the following commands:
smpatch set patchpro.patch.source=https://getupdates1.sun.com/
For the following two commands, "keytool" will prompt for a "keystore" password. Enter: 'changeit'
cd /wsu/cit/ecs/global/smpatch keytool -import -trustcacerts -alias oracle.com -file verisign-chain-ca-2048bit.crt -keystore /usr/lib/patch/cacerts keytool -list -v -alias oracle.com -keystore /usr/lib/patch/cacerts
You should get the following output from the "keytool -list" command above:
Re-register the server after updating the key above.
smpatch set patchpro.patch.source=https://getupdates.oracle.com/ sconadm register -c smpatch analyze
--Tom Stevenson 14:22, 3 February 2012 (EST)
Page name |
Piped link |
Interwiki link |