In addition to being able to identify its communication partner using the SNC layer, the AS ABAP uses a system access control list (ACL) to make sure that it is communicating with the correct component.
Make sure you enter the server's SNC name and not the Distinguished Name. The server's SNC name is the Distinguished Name prefixed with p:.