I’m having authentication issue with AIX Plugin R2, hope someone could help.
I started configuring the AIX Plugin R2 credential and notice different result with different credential.
Credential 1 is my own personal IBM id that was created some time ago. If I use this credential in the Fixlet using AIXProtocolR2 (eg. Fixlet 335 AIX: update for openSSL (1.0.2.5100), it will download the patch successfully. Log as follow:
17159 : 2018-07-04 15:21:06 : Level 1911 : AIX Download Plugin version 1.0.0.4. Gonna get to work now.
17159 : 2018-07-04 15:21:06 : INFO : Using regular HTTP wrapper.
17159 : 2018-07-04 15:21:06 : INFO : Login step https://www-01.ibm.com/marketing/iwm/iwm/web/reg/download.do?source=aixbp&lang=en_US&S_PKG=openssl
17159 : 2018-07-04 15:21:07 : INFO : HTTP POST to: https://www-01.ibm.com//marketing/iwm/iwm/web/reg/acceptLogin.do?source=aixbp&lang=en_US&S_PKG=openssl
17159 : 2018-07-04 15:21:09 : INFO : New download: {'size': None, 'file': '/var/opt/BESServer/wwwrootbes/bfmirror/downloads/ActiveDownloads/indexed_207_1', 'id': 0, 'url': 'AIXProtocolR2://get.file/openssl/openssl-1.0.2.1500', 'sha1': {'value': '8860c2db4d3fa212c28b7622b72df15951780fec', 'algorithm': 'sha1'}}
17159 : 2018-07-04 15:21:09 : INFO : AIX download url AIXProtocolR2://get.file/openssl/openssl-1.0.2.1500.
17159 : 2018-07-04 15:21:09 : INFO : fn is <function UA.get_file at 0x7f90518d9b70>
17159 : 2018-07-04 15:21:09 : INFO : Package Name: openssl
17159 : 2018-07-04 15:21:09 : INFO : Package Version: openssl-1.0.2.1500
17159 : 2018-07-04 15:21:10 : INFO : Getting page: https://www-01.ibm.com/marketing/iwm/iwm/web/reg/download.do?source=aixbp&S_PKG=openssl&lang=en_US&cp=UTF-8&&&dlmethod=http
17159 : 2018-07-04 15:21:11 : INFO : Package version is openssl-1.0.2.1500
17159 : 2018-07-04 15:21:11 : INFO : OS proxy settings: {}
17159 : 2018-07-04 15:21:17 : INFO : Download successful.
17159 : 2018-07-04 15:21:17 : INFO : Plugin returned with code 0.
Credential 2 is a new generic IBM id that I just created for the use solely for BigFix download. If I use it the Fixlet will not be able to download the patch from IBM. Log as follow:
20759 : 2018-07-05 09:04:39 : Level 1911 : AIX Download Plugin version 1.0.0.4. Gonna get to work now.
20759 : 2018-07-05 09:04:39 : INFO : Using regular HTTP wrapper.
20759 : 2018-07-05 09:04:39 : INFO : Login step https://www-01.ibm.com/marketing/iwm/iwm/web/reg/download.do?source=aixbp&lang=en_US&S_PKG=openssl
20759 : 2018-07-05 09:04:40 : INFO : HTTP POST to: https://www-01.ibm.com//marketing/iwm/iwm/web/reg/acceptLogin.do?source=aixbp&amp;lang=en_US&amp;S_PKG=openssl
20759 : 2018-07-05 09:04:41 : INFO : New download: {'file': '/var/opt/BESServer/wwwrootbes/bfmirror/downloads/ActiveDownloads/indexed_209_1', 'sha1': {'value': '8860c2db4d3fa212c28b7622b72df15951780fec', 'algorithm': 'sha1'}, 'id': 1, 'size': None, 'url': 'AIXProtocolR2://get.file/openssl/openssl-1.0.2.1500'}
20759 : 2018-07-05 09:04:41 : INFO : AIX download url AIXProtocolR2://get.file/openssl/openssl-1.0.2.1500.
20759 : 2018-07-05 09:04:41 : INFO : fn is <function UA.get_file at 0x7fd950d1cb70>
20759 : 2018-07-05 09:04:41 : INFO : Package Name: openssl
20759 : 2018-07-05 09:04:41 : INFO : Package Version: openssl-1.0.2.1500
20759 : 2018-07-05 09:04:43 : INFO : Getting page: https://www-01.ibm.com/marketing/iwm/iwm/web/reg/download.do?source=aixbp&S_PKG=openssl&lang=en_US&cp=UTF-8&&&dlmethod=http
20759 : 2018-07-05 09:04:43 : INFO : Package version is openssl-1.0.2.1500
20759 : 2018-07-05 09:04:43 : WARNING : Download failed. Reason: Not able to find download link for Package Version openssl-1.0.2.1500
20759 : 2018-07-05 09:04:43 : WARNING : Some downloads have failed.
20759 : 2018-07-05 09:04:43 : INFO : Plugin returned with code 1.
I opened a ticket with IBM and the response is that when my personal IBM id was created it was not created by the URX form link so it can directly access the old MRS form link https://www-01.ibm.com/marketing/iwm/iwm/web/reg/download.do?source=aixbp&lang=en_US&S_PKG=openssl
However, my new generic IBMid was created by the URX form link (via IBM id sign up page) so it should be accessing the form link Log in to IBM first, then access the old MRS form link https://www-01.ibm.com/marketing/iwm/iwm/web/download.do?source=aixbp&pageType=urx&S_PKG=openssl .
I was also being told that all new IBM id will be created by the URX form link from now on, so I’m not sure if there is something else I can try to make the generic IBM id to work with the AIX Plugin R2.