Skip to content

How to create PKCS#12 certificates? #6682

Description

@Gapoly

Hello, I'm trying to create a PKCS#12 but I can't find any doc on it. This is what I tried but didn't work :

curl https://get.acme.sh | sh
source ~/.bashrc

export CF_Token="sdfsdfsdfljlbjkljlkjsdfoiwje"

acme.sh --issue \
  --dns dns_cf \
  -d *.mydomain.fr \
  --keylength ec-256 \
  --server letsencrypt

acme.sh --install-cert -d *.mydomain.fr \
  --ecc \
  --pfx-file       /etc/ssl/private/mydomain.p12 \
  --pfx-password  'MYPASSWORD' \
  --reloadcmd     "systemctl restart dns"

This is the error I get

[Sat Dec 13 16:28:18 UTC 2025] Unknown parameter: --pfx-file

I'm on acme.sh v3.1.3.
Thanks for the help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions