瀏覽代碼

fix ssl options; add tips about ssl and ssh2 options

Max Voloshin 12 年之前
父節點
當前提交
66c7654b45
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      doc/articles/handling-private-packages-with-satis.md

+ 5 - 1
doc/articles/handling-private-packages-with-satis.md

@@ -113,6 +113,8 @@ Example using a custom repository using SSH (requires the SSH2 PECL extension):
         ]
     }
 
+> **Tip:** See [ssh2 context options](http://www.php.net/manual/en/wrappers.ssh2.php#refsect1-wrappers.ssh2-options) for more information.
+
 Example using HTTP over SSL using a client certificate:
 
     {
@@ -122,13 +124,15 @@ Example using HTTP over SSL using a client certificate:
                 "url": "https://example.org",
                 "options": {
                     "ssl": {
-                        "cert_file": "/home/composer/.ssl/composer.pem",
+                        "local_cert": "/home/composer/.ssl/composer.pem",
                     }
                 }
             }
         ]
     }
 
+> **Tip:** See [ssl context options](http://www.php.net/manual/en/context.ssl.php) for more information.
+
 ### Downloads
 
 When GitHub or BitBucket repositories are mirrored on your local satis, the build process will include