fix certificate status checking
- we need to check the 'state' attrib
- this is either 'valid' or 'revoked'
- bump version
Merge branch '1.0.6'
- bug fix