> 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/generation.md).

# Generation

## Creating a Store

The JDK includes a tool for creating KeyStores.

```bash
keytool -keystore storeName.jks -genkey -alias someAlias
```

### Defining Type

```bash
keytool -keystore storeName.jks -genkey -alias someAlias -Dkeystore.type=pkcs12
```
