I am trying to setup a OAuth2.0 configuration to connect to a server within our Network using OAuth2.0. My previous attempt worked, however forgot to capture the steps before I had whipped the System so please bear with me.
I have an SSL/TLS Client configuration setup as we use the setup for our LDAP configuration.
When I go through the following steps within the Terminal, I am getting the following error...
%SYS>kill ^ISCLOG
%SYS>set scope="openid fhirUser"
%SYS>set jwt = ##class(%SYS.OAuth2.Authorization).GetAccessTokenJWT("EpicFHIRPOC","1fd8f5cc-18ee-4eff-990d-4606037b932e",scope,.properties,.error,123)
%SYS>
%SYS>zwrite error
error=""
%SYS>zwrite jwt
jwt="0 "_$lb($lb(6085,"OSUMC","error:0200100D:system library:fopen:Permission denied, error:20074002:BIO routines:file_ctrl:system lib, error:140DC002:SSL routines:use_certificate_chain_file:system lib",,,,,,,$lb(,"%SYS",$lb("e^Send+313^%Net.HttpRequest.1^1","e^Post+1^%Net.HttpRequest.1^1","e^GetAccessTokenJWT+44^%SYS.OAuth2.Authorization.1^1","e^^^0"))))
When I attempt to Test the SSL/TLS configuration to that same FHIR server, that I can access from my desktop I am seeing...
.png)
But that same configuration runs ok when I attempt to connect to the LDAP server.
Is this a problem with my OSUWMC SSL/TLS configuration?
Does my key/cert have the correct permissions??
[root@int-lxiris-vd01 private]
-rw-rw-rw-+ 1 apache irisusr 3414 Jan 8 11:37 int-lxiris-vd01_osumc_edu.key
[root@int-lxiris-vd01 certs]
-rw-rw-rw-+ 1 apache irisusr 6521 Jan 9 10:38 int-lxiris-vd01_osumc_edu.pem