From 18612cd91a8151b82e4711079ba850b116679d84 Mon Sep 17 00:00:00 2001 From: littleplus Date: Sun, 3 Mar 2019 14:23:40 +0800 Subject: [PATCH] Update get-started.md Add no. --- core/get-started.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/get-started.md b/core/get-started.md index 5df960f..b38864e 100644 --- a/core/get-started.md +++ b/core/get-started.md @@ -47,7 +47,7 @@ $secureHttpClient = $secureHttpClientFactory->createSecureHttpClient($accountKey // See AcmePhp\Core\Http\SecureHttpClient for all available methods. ``` -### Generate a key pair if needed +### 2. Generate a key pair if needed If you don't already have a KeyPair, you can generate one: @@ -73,7 +73,7 @@ if (!file_exists($privateKeyPath)) { } ``` -### Set up the ACME client +### 3. Set up the ACME client ``` php registerAccount(null, 'testing@tester.com'); ``` -### Request authorization +### 5. Request authorization ``` php challengeAuthorization($authorizationChallenges[0]) ``` -### Generate CSR and private key +### 6. Generate CSR and private key ``` php getPrivateKey()->getPem()); $csr = new CertificateRequest($dn, $domainKeyPair); ``` -### Request certificate +### 7. Request certificate ``` php