{"action":"created","comment":{"url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/comments/85501548","pull_request_review_id":6214457,"id":85501548,"diff_hunk":"@@ -0,0 +1,59 @@\n+.. _configuration/ssl_certificate:\n+\n+===============\n+SSL certificate\n+===============\n+\n+\n+Why use SSL certificate\n+-----------------------\n+\n+By default the communication between daemons (arbiter, scheduler...) is in HTTP.\n+\n+This documentation part explain how to configure to have this communication in HTTPS\n+\n+\n+Official certificate\n+--------------------\n+\n+You can buy a SSL certificate from an official certificate authority.\n+\n+\n+\n+Self-signed certificate\n+-----------------------\n+\n+You can generate yourself your certificate, the commands are::\n+\n+    openssl dhparam -out dhparams.pem 2048\n+    openssl genrsa -passout pass:the_password_you_want -out certificate_test.key 2048\n+    openssl req -new -x509 -days 3650 -key certificate_test.key -out certificate_test.csr\n+\n+When generate the certificate_test.csr (last command), if your Alignak run inly in local, you can put in *Common Name*\n+the value: *localhost*, otherwise put the server name where the daemon is running.\n+\n+\n+Configuration in daemons\n+------------------------\n+\n+In *.ini files in etc/alignak/daemons/ define the complete path of your certificates::\n+\n+    server_cert=/usr/local/etc/alignak/certs/certificate_test.csr\n+    server_key=/usr/local/etc/alignak/certs/certificate_test.key\n+    server_dh=/usr/local/etc/alignak/certs/dhparams.pem\n+\n+In case you use a certificate from an official certificate authority, define too the intermediate certificate of the authority::\n+\n+    ca_cert=/usr/local/etc/alignak/certs/ca.pem\n+\n+\n+At the end, enable SSL in daemons configuration (it's the client in satellite/daemons to communicate with other daemons).\n+So in etc/alignak/arbiter/daemons/*.cfg define::\n+\n+    use_ssl 1\n+","path":"source/04_configuration/ssl_certificate.rst","position":54,"original_position":54,"commit_id":"46bf32024db9707fc9ea72308dfd333ba4943db6","original_commit_id":"46bf32024db9707fc9ea72308dfd333ba4943db6","user":{"login":"ddurieux","id":239744,"avatar_url":"https://avatars.githubusercontent.com/u/239744?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurieux","html_url":"https://github.com/ddurieux","followers_url":"https://api.github.com/users/ddurieux/followers","following_url":"https://api.github.com/users/ddurieux/following{/other_user}","gists_url":"https://api.github.com/users/ddurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurieux/subscriptions","organizations_url":"https://api.github.com/users/ddurieux/orgs","repos_url":"https://api.github.com/users/ddurieux/repos","events_url":"https://api.github.com/users/ddurieux/events{/privacy}","received_events_url":"https://api.github.com/users/ddurieux/received_events","type":"User","site_admin":false},"body":"Yes, but default it's False (0)","created_at":"2016-10-28T09:48:16Z","updated_at":"2016-10-28T09:48:16Z","html_url":"https://github.com/Alignak-monitoring/alignak-doc/pull/12#discussion_r85501548","pull_request_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/comments/85501548"},"html":{"href":"https://github.com/Alignak-monitoring/alignak-doc/pull/12#discussion_r85501548"},"pull_request":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/12","id":91350923,"html_url":"https://github.com/Alignak-monitoring/alignak-doc/pull/12","diff_url":"https://github.com/Alignak-monitoring/alignak-doc/pull/12.diff","patch_url":"https://github.com/Alignak-monitoring/alignak-doc/pull/12.patch","issue_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/issues/12","number":12,"state":"open","locked":false,"title":"Add doc for SSL","user":{"login":"ddurieux","id":239744,"avatar_url":"https://avatars.githubusercontent.com/u/239744?v=3","gravatar_id":"","url":"https://api.github.com/users/ddurieux","html_url":"https://github.com/ddurieux","followers_url":"https://api.github.com/users/ddurieux/followers","following_url":"https://api.github.com/users/ddurieux/following{/other_user}","gists_url":"https://api.github.com/users/ddurieux/gists{/gist_id}","starred_url":"https://api.github.com/users/ddurieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddurieux/subscriptions","organizations_url":"https://api.github.com/users/ddurieux/orgs","repos_url":"https://api.github.com/users/ddurieux/repos","events_url":"https://api.github.com/users/ddurieux/events{/privacy}","received_events_url":"https://api.github.com/users/ddurieux/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-28T09:38:55Z","updated_at":"2016-10-28T09:48:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9396f5da3dea96023d2382cbc77f614f2a72c6a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/12/commits","review_comments_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/12/comments","review_comment_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/issues/12/comments","statuses_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/statuses/46bf32024db9707fc9ea72308dfd333ba4943db6","head":{"label":"Alignak-monitoring:master+ssl","ref":"master+ssl","sha":"46bf32024db9707fc9ea72308dfd333ba4943db6","user":{"login":"Alignak-monitoring","id":12305279,"avatar_url":"https://avatars.githubusercontent.com/u/12305279?v=3","gravatar_id":"","url":"https://api.github.com/users/Alignak-monitoring","html_url":"https://github.com/Alignak-monitoring","followers_url":"https://api.github.com/users/Alignak-monitoring/followers","following_url":"https://api.github.com/users/Alignak-monitoring/following{/other_user}","gists_url":"https://api.github.com/users/Alignak-monitoring/gists{/gist_id}","starred_url":"https://api.github.com/users/Alignak-monitoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alignak-monitoring/subscriptions","organizations_url":"https://api.github.com/users/Alignak-monitoring/orgs","repos_url":"https://api.github.com/users/Alignak-monitoring/repos","events_url":"https://api.github.com/users/Alignak-monitoring/events{/privacy}","received_events_url":"https://api.github.com/users/Alignak-monitoring/received_events","type":"Organization","site_admin":false},"repo":{"id":36066791,"name":"alignak-doc","full_name":"Alignak-monitoring/alignak-doc","owner":{"login":"Alignak-monitoring","id":12305279,"avatar_url":"https://avatars.githubusercontent.com/u/12305279?v=3","gravatar_id":"","url":"https://api.github.com/users/Alignak-monitoring","html_url":"https://github.com/Alignak-monitoring","followers_url":"https://api.github.com/users/Alignak-monitoring/followers","following_url":"https://api.github.com/users/Alignak-monitoring/following{/other_user}","gists_url":"https://api.github.com/users/Alignak-monitoring/gists{/gist_id}","starred_url":"https://api.github.com/users/Alignak-monitoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alignak-monitoring/subscriptions","organizations_url":"https://api.github.com/users/Alignak-monitoring/orgs","repos_url":"https://api.github.com/users/Alignak-monitoring/repos","events_url":"https://api.github.com/users/Alignak-monitoring/events{/privacy}","received_events_url":"https://api.github.com/users/Alignak-monitoring/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alignak-monitoring/alignak-doc","description":null,"fork":false,"url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc","forks_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/forks","keys_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/teams","hooks_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/hooks","issue_events_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/issues/events{/number}","events_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/events","assignees_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/assignees{/user}","branches_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/branches{/branch}","tags_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/tags","blobs_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/statuses/{sha}","languages_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/languages","stargazers_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/stargazers","contributors_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/contributors","subscribers_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/subscribers","subscription_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/subscription","commits_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/contents/{+path}","compare_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/merges","archive_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/downloads","issues_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/issues{/number}","pulls_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls{/number}","milestones_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/milestones{/number}","notifications_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/labels{/name}","releases_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/releases{/id}","deployments_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/deployments","created_at":"2015-05-22T10:34:27Z","updated_at":"2016-10-06T16:33:10Z","pushed_at":"2016-10-28T09:38:55Z","git_url":"git://github.com/Alignak-monitoring/alignak-doc.git","ssh_url":"git@github.com:Alignak-monitoring/alignak-doc.git","clone_url":"https://github.com/Alignak-monitoring/alignak-doc.git","svn_url":"https://github.com/Alignak-monitoring/alignak-doc","homepage":null,"size":6564,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"Alignak-monitoring:master","ref":"master","sha":"7d9a8928848be52a839e49ea4d07c097b12c368c","user":{"login":"Alignak-monitoring","id":12305279,"avatar_url":"https://avatars.githubusercontent.com/u/12305279?v=3","gravatar_id":"","url":"https://api.github.com/users/Alignak-monitoring","html_url":"https://github.com/Alignak-monitoring","followers_url":"https://api.github.com/users/Alignak-monitoring/followers","following_url":"https://api.github.com/users/Alignak-monitoring/following{/other_user}","gists_url":"https://api.github.com/users/Alignak-monitoring/gists{/gist_id}","starred_url":"https://api.github.com/users/Alignak-monitoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alignak-monitoring/subscriptions","organizations_url":"https://api.github.com/users/Alignak-monitoring/orgs","repos_url":"https://api.github.com/users/Alignak-monitoring/repos","events_url":"https://api.github.com/users/Alignak-monitoring/events{/privacy}","received_events_url":"https://api.github.com/users/Alignak-monitoring/received_events","type":"Organization","site_admin":false},"repo":{"id":36066791,"name":"alignak-doc","full_name":"Alignak-monitoring/alignak-doc","owner":{"login":"Alignak-monitoring","id":12305279,"avatar_url":"https://avatars.githubusercontent.com/u/12305279?v=3","gravatar_id":"","url":"https://api.github.com/users/Alignak-monitoring","html_url":"https://github.com/Alignak-monitoring","followers_url":"https://api.github.com/users/Alignak-monitoring/followers","following_url":"https://api.github.com/users/Alignak-monitoring/following{/other_user}","gists_url":"https://api.github.com/users/Alignak-monitoring/gists{/gist_id}","starred_url":"https://api.github.com/users/Alignak-monitoring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alignak-monitoring/subscriptions","organizations_url":"https://api.github.com/users/Alignak-monitoring/orgs","repos_url":"https://api.github.com/users/Alignak-monitoring/repos","events_url":"https://api.github.com/users/Alignak-monitoring/events{/privacy}","received_events_url":"https://api.github.com/users/Alignak-monitoring/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alignak-monitoring/alignak-doc","description":null,"fork":false,"url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc","forks_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/forks","keys_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/teams","hooks_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/hooks","issue_events_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/issues/events{/number}","events_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/events","assignees_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/assignees{/user}","branches_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/branches{/branch}","tags_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/tags","blobs_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/statuses/{sha}","languages_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/languages","stargazers_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/stargazers","contributors_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/contributors","subscribers_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/subscribers","subscription_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/subscription","commits_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/contents/{+path}","compare_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/merges","archive_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/downloads","issues_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/issues{/number}","pulls_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls{/number}","milestones_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/milestones{/number}","notifications_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/labels{/name}","releases_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/releases{/id}","deployments_url":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/deployments","created_at":"2015-05-22T10:34:27Z","updated_at":"2016-10-06T16:33:10Z","pushed_at":"2016-10-28T09:38:55Z","git_url":"git://github.com/Alignak-monitoring/alignak-doc.git","ssh_url":"git@github.com:Alignak-monitoring/alignak-doc.git","clone_url":"https://github.com/Alignak-monitoring/alignak-doc.git","svn_url":"https://github.com/Alignak-monitoring/alignak-doc","homepage":null,"size":6564,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/12"},"html":{"href":"https://github.com/Alignak-monitoring/alignak-doc/pull/12"},"issue":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/issues/12"},"comments":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/Alignak-monitoring/alignak-doc/statuses/46bf32024db9707fc9ea72308dfd333ba4943db6"}}}}
{"actor":{"display_login":"ddurieux"}}