> For the complete documentation index, see [llms.txt](https://bernardo.gitbook.io/development-docs-java/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bernardo.gitbook.io/development-docs-java/keystore/certificates.md).

# Certificates

## Creation

Once the store has been created it can be used to generate a certificate.

```bash
keytool -certreq -keystore storeName.jks -alias someAlias -file test.csr
```

## Importing

```
keytool -import -keystore storeName.jks -alias someAlias -file test.cer
```
