Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

API request using SAF authentication fails with HTTP response 401 after upgrade

3100002CP2 gravatar image
Question by bayliss  (487) | Jul 30, 2018 at 09:48 AM zosconnectangel

After upgrading to z/OS Connect EE 3.0.11.0 and starting my server. I invoked an API passing a basic authentication header with credentials that I expect to be authenticated using SAF (RACF), but the request failed with HTTP response 401.

messages.log includes the following messages:

  • CWWKB0122I: This server is connected to the default angel process.

  • CWWKB0104I: Authorized service group SAFCRED is not available.

  • CWWKS2932I: The unauthorized version of the SAF user registry is activated. Authentication will proceed using unauthorized native services.

  • FFDC1015I: An FFDC Incident has been created: "com.ibm.ws.security.registry.RegistryException: Unix System Service __passwd failed for user with errno 157 (EMVSERR) and errno2 x90c02af com.ibm.ws.security.registry.saf.internal.SAFRegistry 121" at ffdc_yy.MM.dd_hh.mm.ss.s.log CWWKS1100A: Authentication did not succeed for user ID MYUSER. An invalid user ID or password was specified.

This worked successfully, before I upgraded from z/OS Connect EE 3.0.10.0 to 3.0.11.0.

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
3100002CP2 gravatar image
Accepted answer

Answer by bayliss (487) | Jul 30, 2018 at 09:51 AM

z/OS Connect EE 3.0.11.0 updates the level of the WebSphere Liberty Profile it ships to 18.0.0.2. WebSphere Liberty Profile 18.0.0.2 updated the level of the angel process to version 8.

For a z/OS Connect EE server to be able to access the z/OS authorized services (for example SAFCRED to perform SAF authentication), it must connect to an angel process running WebSphere Liberty Profile at the same level or higher.

  1. Ensure that the angel process is running the updated version of z/OS Connect EE 3.0.11.0 (so that it is using WebSphere Liberty Profile 18.0.0.2). See the z/OS Connect EE V3 product documentation: Securing -> Configuring the Liberty Angel process and z/OS authorized services for more details.

  2. Restart the z/OS Connect EE server and check that messages.log contains the following message: CWWKB0103I: Authorized service group SAFCRED is available.

  3. Invoke the API again, the SAF authentication should now be successful.

Regards, Sue
IBM z/OS Connect EE Test

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

136 people are following this question.

Answers

Answers & comments

Related questions

BPXP015I and BPXP014I when starting z/OS Connect EE server with the Liberty Angel process 1 Answer

FSUM7351 not found error in BAQLS2JS job 2 Answers

z/OS Connect EE SSL handshake failing with javax.net.ssl.SSLHandshakeException: null cert chain 1 Answer

BBO# CICS WOLA Program LINK transactions are starting and ending instead of waiting for more work 1 Answer

Do I need to have swagger documentation in order to call any REST API? 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges