ALEWEB_GET_CONTEXT integrated ITS
I have a similar issue, with integrated ITS on SRM 5.0 in a migration project. When I try to register the certificate into USREXTID, before was implemented by the next steps:
1.- field-get '~http_auth_cert' 1 usercert_base64_c_tab certlen.
2.- CALL 'SNC_ABAP_INFO' ID 'OPCODE' FIELD get_cert_info
ID 'CERT' FIELD usercert_base64
ID 'CERTLEN' FIELD certlen
ID 'SUBJECT' FIELD subject
ID 'ISSUER' FIELD issuer
ID 'SNUMBER' FIELD serialno.
But, now the call to makro field-get not work whit the param '~http_auth_cert' , and I have to pass the value DN of the certificate (CN=name- NIF xxxxxxxy, OU=xxxxxxx, OU=xxxxxx Clase x CA, O=xxx, C=xx), and works fine executing the next ALEWEB_GET_CONTEXT function. Then the call to system function 'SNC_ABAP_INFO', returns subrc 300.
In this version, the standar service certmap do it similar.
Sorry, can anybody help me.
Tx and regards.