How to link devices with different certificates