cancel
Showing results for 
Search instead for 
Did you mean: 

How to get SICF to use a defined domain name when you test a service?

Former Member
0 Kudos

When I go to transaction SICF and test the service:

\sap\public\ping

it defaults to:

https://myhostname.mycompany.com/sap/public/ping?sap-client=100

I want it to default to:

https://abc.mycompany.com/sap/public/ping?sap-client=100

Is this possible? If so, how?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi, Paul

You can use any proxy with reverse mode (like Apache Tomcat) for mapping abc.mycompany.com to myhostname.mycompany.com.

But this works only outside from SICF, because SICF uses parameter icm/host_name_full for making URL.

Best Regards,

Aleh

Former Member
0 Kudos

Thanks but I want to resolve 'correctly' from within the ABAP system.

When called from the URL https://abc.mycompany.com/sap/public/ping?sap-client=100 the service works fine. The issue is when developers test the service from within transaction SICF - in this case it uses the hostname of the server that the developer is currently logged onto, then the SSL certificate isn't trusted because the certificate is only set up for the domain name, not the hostname. A workaround for this is to set up the certificate to include domain aliases (set up for every hostname in the system), but that isn't a nice fix to this issue.

Thanks.

Former Member
0 Kudos

By the way, you are right in that SICF uses icm/host_name_full - and there probably isn't a way to get it to do what I want it to do, I just thought I'd ask on here anyway

Former Member
0 Kudos

Hi Paul,

You can try to insert entries in table HTTPURLLOC. Check the documentation for it.

This is the table used to take in account external reverse proxies for directly generated URLs.

It could work for your case.

Regards,

Olivier

Answers (0)