How to apply a server-side signature