Acme.sh: PKCS #12

Created on 9 Dec 2016  路  5Comments  路  Source: acmesh-official/acme.sh

how can a PKCS #12 cert be issued with acme.sh ?

Most helpful comment

pkcs12 IS pfx

see: https://github.com/Neilpang/acme.sh/wiki#3-how-to-get-pkcs12pfx-format

All 5 comments

pkcs12 IS pfx

see: https://github.com/Neilpang/acme.sh/wiki#3-how-to-get-pkcs12pfx-format

@Neilpang that documentations seems to be insufficient

$ acme.sh --test --toPkcs -d pfx.imperialus.house
[Fri 9 Dec 2016 12:35:23 GMT] Using stage api:https://acme-staging.api.letsencrypt.org
Error opening input file /Users/fernando/.acme.sh/pfx.imperialus.house/pfx.imperialus.house.cer
/Users/fernando/.acme.sh/pfx.imperialus.house/pfx.imperialus.house.cer: No such file or directory

after..... one of these days i'll learn how to read

will the pfx be issued once a cert is renewed?
or should i had this to the post hook?

@FernandoMiguel
You must issue the cert first.

acme.sh --issue   -d  mydomain.com  ......

Then convert it to pkcs12 format:

acme.sh  --topkcs  -d mydomain.com   ......

Yes, you must convert it in the --post-hook or --renew-hook.

It is suggested that, you write a hook file renew-hook.sh.

You can do anything in that file.

Thanks.

Was this page helpful?
0 / 5 - 0 ratings