Просмотр исходного кода

Merge pull request #1798 from max-voloshin/fix-ssl-options

Documentation: fix ssl options; add tips about ssl and ssh2 options
Jordi Boggiano 12 лет назад
Родитель
Сommit
b64f71f42b
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:
 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",
                 "url": "https://example.org",
                 "options": {
                 "options": {
                     "ssl": {
                     "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
 ### Downloads
 
 
 When GitHub or BitBucket repositories are mirrored on your local satis, the build process will include
 When GitHub or BitBucket repositories are mirrored on your local satis, the build process will include