Martin,

I do not remember whether the listserv allows attachments but I ran the current 
dev pca on x86 Solaris 10 (so I used 151616) - the output is attached.

Thanks,
Glen

-----Original Message-----
From: pca [mailto:pca-boun...@lists.univie.ac.at] On Behalf Of Martin Paul
Sent: Tuesday, March 24, 2015 2:59 AM
To: PCA (Patch Check Advanced) Discussion
Subject: Re: [pca] Patch download fails

Thanks Jan for the detailed analysis, that makes perfect sense!

I have made two changes to the development version of PCA:

   http://www.par.univie.ac.at/solaris/pca/develop/pca

   - Add the GeoTrust CA cert
   - Use --no-check-certificate with wget versions <= 1.12

The bug with recognizing alternative names in certs seems to be fixed in 
wget 1.13.1 onwards.

For wget versions <= 1.12 I have no choice but turning off certificate 
checks. That's ugly, but if Oracle doesn't change the certificate, there 
is no other choice.

Can somebody please check whether the latest wget patches for Solaris 
(125215-05 and 125216-05) provide a version of wget newer than 1.12, and 
if so, whether patch downloads work with the current development version 
of PCA?

I'd also like to encourage anybody to test the new version with other 
versions of wget, and see whether it works in all environments. If patch 
downloads fail, please post output of "pca --debug -d 151615-01".

Best,
Martin.

sudo ~/pcatest --debug -d 151616-01 --xrefdir="/var/tmp/pcatmp" 
--patchdir="/var/tmp/pcatmp"
Option download: 1
Option xrefdir: /var/tmp/pcatmp
Option patchdir: /var/tmp/pcatmp
Option debug: 1
Command: /home/gunselmg/pcatest
ARGV: 151616-01
Version: 20150324-01
CWD: /home/gunselmg
Found /usr/sfw/bin/wget (1.12, 11200, https)
Using /usr/sfw/bin/wget
Found /usr/bin/uname
Prerequisites for threads not met, setting threads to 0
Never update
Expanded patch list: 151616-01
xref mtime: Mon Mar 23 21:51:05 2015
xref now  : Tue Mar 24 08:46:39 2015
xref ctime: Tue Mar 24 08:40:53 2015
xref age  : 346
Local file /var/tmp/pcatmp/patchdiag.xref is up to date
osname from uname: SunOS
Reading from /usr/bin/showrev -p  2>/dev/null
patchdiag.xref size: 2319110
Using /var/tmp/pcatmp/patchdiag.xref from Mar/23/15
All operands are fully qualified patch IDs plus revisions
Host: beaker (SunOS 5.10/Generic_150401-17/i386/i86pc)
List: 151616-01 (1/0)

Patch  IR   CR RSB Age Synopsis
------ -- - -- --- --- -------------------------------------------------------
151616 -- < 01 R--  10 SunOS 5.10_x86: fcp patch

Looking for 151616-01 (1/1)
Trying Oracle

Please enter My Oracle Support Account User: xxxxxxxxx
Please enter My Oracle Support Account Password:

Trying https://getupdates.oracle.com/ (1/1)
src: oracle, srcurl:
Adding to /tmp/pca.834122: header=Authorization: Basic <base64-user-passwd>
/usr/sfw/bin/wget --progress=dot:binary --ca-certificate=/home/gunselmg/pcatest 
--no-check-certificate --secure-protocol=TLSv1 -O /var/tmp/pcatmp/151616-01.zip 
"https://getupdates.oracle.com/all_unsigned/151616-01.zip";
--2015-03-24 08:47:22--  
https://getupdates.oracle.com/all_unsigned/151616-01.zip
Resolving getupdates.oracle.com... 141.146.44.51
Connecting to getupdates.oracle.com|141.146.44.51|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Cookie coming from updates.oracle.com attempted to set domain to 
updates.oracle.com
Location: 
https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~E4066BF0~7973EDCCC7676D5131DC3CB89FC703B8A50E56110A28E6BEC73AB9FC226E462809BE21F38034C504C5E78D7AA68B6D81CC011E23F2DC5C9971A1C3C8D329C9AA94242F320573B7C536D11AE8BF4D2061B4B42C5B5391182F29DC70BA0174C9B88A9A466F75967FDA9CCC2C57D5D133512D8FA53EC9249B64AC0734929B373A9AF3227FD8587F658080C80DEF7EA311C4D06B8C3C1E41E73696179CB467D9B74D3FA35273D87844223DD24CF11C2DB9E451CF8D4C11D4ACC1FBFF63A3A94D7759
 [following]
--2015-03-24 08:47:23--  
https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login?site2pstoretoken=v1.2~E4066BF0~7973EDCCC7676D5131DC3CB89FC703B8A50E56110A28E6BEC73AB9FC226E462809BE21F38034C504C5E78D7AA68B6D81CC011E23F2DC5C9971A1C3C8D329C9AA94242F320573B7C536D11AE8BF4D2061B4B42C5B5391182F29DC70BA0174C9B88A9A466F75967FDA9CCC2C57D5D133512D8FA53EC9249B64AC0734929B373A9AF3227FD8587F658080C80DEF7EA311C4D06B8C3C1E41E73696179CB467D9B74D3FA35273D87844223DD24CF11C2DB9E451CF8D4C11D4ACC1FBFF63A3A94D7759
Resolving login.oracle.com... 209.17.4.8
Connecting to login.oracle.com|209.17.4.8|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 
https://updates.oracle.com/osso_login_success?urlc=v1.2%7ED9C6954E588E6E09A9829821A9844A75D18EBC3C9458252234D4E895B9C754E09A510205ED1727EC7FD19F36EB74088BFBE45850CE107E46D884FC4D5D1C494FA2825B599B3E58396EFBED0CBD92E255F095D4BB5653841DAEFB19FC38803D7AE301EB6F97553120CF766E73594835FCFBC58334F0723B4EA0AA730D3B945F55414917D371EF0F3A9B82E4A00E4B98892A7CBE380CA363CF1BFA2E348E44A99AE532094050F5592ADDEE57B361545ACF986C438471B2A7FD8BD4A808123110DC2E3896A57D99B28226997042580FF5E704EB759473447F5A03E3D0047860EB43D736A7169D64D9561A5D97DF34B4238144E261CC9D3E0D08B66F9862BDB609390059064F9AADF72CED3310941680AF3160EE71135281453FE665B232FC7BC2DD2707B819CEF39185E716ECD93365350A07E1B8F620C9EAE5
 [following]
--2015-03-24 08:47:23--  
https://updates.oracle.com/osso_login_success?urlc=v1.2%7ED9C6954E588E6E09A9829821A9844A75D18EBC3C9458252234D4E895B9C754E09A510205ED1727EC7FD19F36EB74088BFBE45850CE107E46D884FC4D5D1C494FA2825B599B3E58396EFBED0CBD92E255F095D4BB5653841DAEFB19FC38803D7AE301EB6F97553120CF766E73594835FCFBC58334F0723B4EA0AA730D3B945F55414917D371EF0F3A9B82E4A00E4B98892A7CBE380CA363CF1BFA2E348E44A99AE532094050F5592ADDEE57B361545ACF986C438471B2A7FD8BD4A808123110DC2E3896A57D99B28226997042580FF5E704EB759473447F5A03E3D0047860EB43D736A7169D64D9561A5D97DF34B4238144E261CC9D3E0D08B66F9862BDB609390059064F9AADF72CED3310941680AF3160EE71135281453FE665B232FC7BC2DD2707B819CEF39185E716ECD93365350A07E1B8F620C9EAE5
Resolving updates.oracle.com... 141.146.44.51
Connecting to updates.oracle.com|141.146.44.51|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://updates.oracle.com/all_unsigned/151616-01.zip [following]
--2015-03-24 08:47:23--  https://updates.oracle.com/all_unsigned/151616-01.zip
Connecting to updates.oracle.com|141.146.44.51|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: 
https://aru-akam-secure.oracle.com/adcarurepos/vol/patch30/PLATFORM/Solarisx86/R4000001100000/151616-01.zip?FilePath=/adcarurepos/vol/patch30/PLATFORM/Solarisx86/R4000001100000/151616-01.zip&File=151616-01.zip&params=U3pwUVRFNVE3R1UyOFJwK3B0K0tjZzphcnU9MTg2OTY1MzcmZW1haWw9Z2d1bnNlbG1AZW1wb3JpYS5lZHUmZmlsZV9pZD03ODA5OTA3MiZwYXRjaF9maWxlPTE1MTYxNi0wMS56aXAmdXNlcmlkPW8tZ2d1bnNlbG1AZW1wb3JpYS5lZHUmc2l6ZT0yNTg2MzkmY29udGV4dD1BQDEwK0hAYWFydXZtdHAwNC5vcmFjbGUuY29tK1BAJmRvd25sb2FkX2lkPTE1OTc5NDU0NQ@@&AuthParam=1427204963_36aaf446d3b4b41afde0f61c157c0a76
 [following]
--2015-03-24 08:47:23--  
https://aru-akam-secure.oracle.com/adcarurepos/vol/patch30/PLATFORM/Solarisx86/R4000001100000/151616-01.zip?FilePath=/adcarurepos/vol/patch30/PLATFORM/Solarisx86/R4000001100000/151616-01.zip&File=151616-01.zip&params=U3pwUVRFNVE3R1UyOFJwK3B0K0tjZzphcnU9MTg2OTY1MzcmZW1haWw9Z2d1bnNlbG1AZW1wb3JpYS5lZHUmZmlsZV9pZD03ODA5OTA3MiZwYXRjaF9maWxlPTE1MTYxNi0wMS56aXAmdXNlcmlkPW8tZ2d1bnNlbG1AZW1wb3JpYS5lZHUmc2l6ZT0yNTg2MzkmY29udGV4dD1BQDEwK0hAYWFydXZtdHAwNC5vcmFjbGUuY29tK1BAJmRvd25sb2FkX2lkPTE1OTc5NDU0NQ@@&AuthParam=1427204963_36aaf446d3b4b41afde0f61c157c0a76
Resolving aru-akam-secure.oracle.com... 23.33.56.111
Connecting to aru-akam-secure.oracle.com|23.33.56.111|:443... connected.
WARNING: certificate common name `download-secure.oracle.com' doesn't match 
requested host name `aru-akam-secure.oracle.com'.
HTTP request sent, awaiting response... 200 OK
Length: 258639 (253K) [application/zip]
Saving to: `/var/tmp/pcatmp/151616-01.zip'

     0K ................ ...............                  100% 1.20M=0.2s

2015-03-24 08:47:24 (1.20 MB/s) - `/var/tmp/pcatmp/151616-01.zip' saved 
[258639/258639]

Removing /tmp/pca.834122
Done
------------------------------------------------------------------------------
Download Summary: 1 total, 1 successful, 0 skipped, 0 failed

Reply via email to