Validating the certificate the same way servers validate client certificates should be enough to verify it as a date/time-valid Estonian ID.
Very basic - hello world level - implementation is as simple as enabling client certificate authentication in Apache config.
Validating the certificate the same way servers validate client certificates should be enough to verify it as a date/time-valid Estonian ID.