> For the complete documentation index, see [llms.txt](https://riteshs4hu.gitbook.io/infosec-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://riteshs4hu.gitbook.io/infosec-notes/android-appsec/static-analysis/mobsf/certificate-analysis.md).

# Certificate Analysis

* Verify the signature in the APK File

```bash
apksigner verify --verbose --print-certs <apk-file>
```

* Check the Certificate time

```bash
keytool -printcert -jarfile <apk-file>
```
