I have a multiplayer game with a custom client app and an application server (no browser or website). I need
- the data that passes between them to be encrypted both for the login data obviously and for the game actions.
- that the server answer only to requests from my clients and that the clients get information only from the server.
From what I read, I need 2 certificates for that. Can I use self-signed certificates for the client and server? How do other games usually handle this?