{"action":"created","comment":{"url":"https://api.github.com/repos/georchestra/georchestra/pulls/comments/49326318","id":49326318,"diff_hunk":"@@ -377,63 +305,8 @@ ProxyPass /mapfishapp/ http://localhost:8180/mapfishapp/\n ProxyPassReverse /mapfishapp/ http://localhost:8180/mapfishapp/\n ```\n \n-And if your SDI is primarily accessed through unsecured http:\n-```\n-RewriteCond %{HTTPS} on\n-RewriteCond %{REQUEST_URI} ^/mapfishapp/?.*$ \n-RewriteRule ^/(.*)$ http://%{SERVER_NAME}/$1 [R=301,L]\n-```\n-\n \n ## SSL certificate\n \n-The SSL certificate is absolutely required, at least for the CAS module, if not for the whole SDI.\n-\n-* Generate a private key (enter a good passphrase and keep it safe !)\n-```\n-sudo openssl genrsa -des3 \\\n-    -out /var/www/georchestra/ssl/georchestra.key 2048\n-```\n-\n-Protect it with:\n-```\n-sudo chmod 400 /var/www/georchestra/ssl/georchestra.key\n-```\n-\n-* Generate a [Certificate Signing Request](http://en.wikipedia.org/wiki/Certificate_signing_request) (CSR) for this key, with eg:\n-```\n-sudo openssl req \\\n-    -key /var/www/georchestra/ssl/georchestra.key \\\n-    -subj \"/C=FR/ST=None/L=None/O=None/OU=None/CN=georchestra.mydomain.org\" \\\n-    -newkey rsa:2048 -sha256 \\\n-    -out /var/www/georchestra/ssl/georchestra.csr\n-```\n-\n-Be sure to replace the ```/C=FR/ST=None/L=None/O=None/OU=None/CN=georchestra.mydomain.org``` string with something more relevant:\n- * ```C``` is the 2 letter Country Name code\n- * ```ST``` is the State or Province Name\n- * ```L``` is the Locality Name (eg, city)\n- * ```O``` is the Organization Name (eg, company)\n- * ```OU``` is the Organizational Unit (eg, company department)\n- * ```CN``` is the Common Name (***your server FQDN***)\n-\n-* Create an unprotected key:\n-```\n-sudo openssl rsa \\\n-    -in /var/www/georchestra/ssl/georchestra.key \\\n-    -out /var/www/georchestra/ssl/georchestra-unprotected.key\n-```\n-\n- * Finally generate a self-signed certificate (CRT):\n-```\n-sudo openssl x509 -req \\\n-    -days 365 \\\n-    -in /var/www/georchestra/ssl/georchestra.csr \\\n-    -signkey /var/www/georchestra/ssl/georchestra.key \\\n-    -out /var/www/georchestra/ssl/georchestra.crt\n-```\n-\n-* Restart the web server:\n-```\n-sudo service apache2 restart\n-``` \n+An SSL certificate is absolutely required, at least for the CAS module.","path":"doc/setup/apache.md","position":255,"original_position":255,"commit_id":"896a435de37568eeee8192881617d3f02b2c3409","original_commit_id":"896a435de37568eeee8192881617d3f02b2c3409","user":{"login":"fvanderbiest","id":265319,"avatar_url":"https://avatars.githubusercontent.com/u/265319?v=3","gravatar_id":"","url":"https://api.github.com/users/fvanderbiest","html_url":"https://github.com/fvanderbiest","followers_url":"https://api.github.com/users/fvanderbiest/followers","following_url":"https://api.github.com/users/fvanderbiest/following{/other_user}","gists_url":"https://api.github.com/users/fvanderbiest/gists{/gist_id}","starred_url":"https://api.github.com/users/fvanderbiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvanderbiest/subscriptions","organizations_url":"https://api.github.com/users/fvanderbiest/orgs","repos_url":"https://api.github.com/users/fvanderbiest/repos","events_url":"https://api.github.com/users/fvanderbiest/events{/privacy}","received_events_url":"https://api.github.com/users/fvanderbiest/received_events","type":"User","site_admin":false},"body":"I would not recommend this kind of setup, since credentials would transit in plain text...","created_at":"2016-01-11T14:32:14Z","updated_at":"2016-01-11T14:32:14Z","html_url":"https://github.com/georchestra/georchestra/pull/1175#discussion_r49326318","pull_request_url":"https://api.github.com/repos/georchestra/georchestra/pulls/1175","_links":{"self":{"href":"https://api.github.com/repos/georchestra/georchestra/pulls/comments/49326318"},"html":{"href":"https://github.com/georchestra/georchestra/pull/1175#discussion_r49326318"},"pull_request":{"href":"https://api.github.com/repos/georchestra/georchestra/pulls/1175"}}},"pull_request":{"url":"https://api.github.com/repos/georchestra/georchestra/pulls/1175","id":55623064,"html_url":"https://github.com/georchestra/georchestra/pull/1175","diff_url":"https://github.com/georchestra/georchestra/pull/1175.diff","patch_url":"https://github.com/georchestra/georchestra/pull/1175.patch","issue_url":"https://api.github.com/repos/georchestra/georchestra/issues/1175","number":1175,"state":"open","locked":false,"title":"Switch to SSL by default","user":{"login":"fvanderbiest","id":265319,"avatar_url":"https://avatars.githubusercontent.com/u/265319?v=3","gravatar_id":"","url":"https://api.github.com/users/fvanderbiest","html_url":"https://github.com/fvanderbiest","followers_url":"https://api.github.com/users/fvanderbiest/followers","following_url":"https://api.github.com/users/fvanderbiest/following{/other_user}","gists_url":"https://api.github.com/users/fvanderbiest/gists{/gist_id}","starred_url":"https://api.github.com/users/fvanderbiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvanderbiest/subscriptions","organizations_url":"https://api.github.com/users/fvanderbiest/orgs","repos_url":"https://api.github.com/users/fvanderbiest/repos","events_url":"https://api.github.com/users/fvanderbiest/events{/privacy}","received_events_url":"https://api.github.com/users/fvanderbiest/received_events","type":"User","site_admin":false},"body":"Proposal for georchestra/georchestra#1123\r\n\r\nUpdated documentation comes with.\r\n\r\nWork in Progress, do not merge for now","created_at":"2016-01-11T13:42:30Z","updated_at":"2016-01-11T14:32:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25d365d81e0f1c541d85f1d346d9dfdbac806efd","assignee":{"login":"fvanderbiest","id":265319,"avatar_url":"https://avatars.githubusercontent.com/u/265319?v=3","gravatar_id":"","url":"https://api.github.com/users/fvanderbiest","html_url":"https://github.com/fvanderbiest","followers_url":"https://api.github.com/users/fvanderbiest/followers","following_url":"https://api.github.com/users/fvanderbiest/following{/other_user}","gists_url":"https://api.github.com/users/fvanderbiest/gists{/gist_id}","starred_url":"https://api.github.com/users/fvanderbiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvanderbiest/subscriptions","organizations_url":"https://api.github.com/users/fvanderbiest/orgs","repos_url":"https://api.github.com/users/fvanderbiest/repos","events_url":"https://api.github.com/users/fvanderbiest/events{/privacy}","received_events_url":"https://api.github.com/users/fvanderbiest/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/georchestra/georchestra/milestones/8","html_url":"https://github.com/georchestra/georchestra/milestones/15.12","labels_url":"https://api.github.com/repos/georchestra/georchestra/milestones/8/labels","id":976665,"number":8,"title":"15.12","description":"","creator":{"login":"fvanderbiest","id":265319,"avatar_url":"https://avatars.githubusercontent.com/u/265319?v=3","gravatar_id":"","url":"https://api.github.com/users/fvanderbiest","html_url":"https://github.com/fvanderbiest","followers_url":"https://api.github.com/users/fvanderbiest/followers","following_url":"https://api.github.com/users/fvanderbiest/following{/other_user}","gists_url":"https://api.github.com/users/fvanderbiest/gists{/gist_id}","starred_url":"https://api.github.com/users/fvanderbiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvanderbiest/subscriptions","organizations_url":"https://api.github.com/users/fvanderbiest/orgs","repos_url":"https://api.github.com/users/fvanderbiest/repos","events_url":"https://api.github.com/users/fvanderbiest/events{/privacy}","received_events_url":"https://api.github.com/users/fvanderbiest/received_events","type":"User","site_admin":false},"open_issues":50,"closed_issues":50,"state":"open","created_at":"2015-02-12T11:04:24Z","updated_at":"2016-01-11T14:27:46Z","due_on":"2015-12-14T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/georchestra/georchestra/pulls/1175/commits","review_comments_url":"https://api.github.com/repos/georchestra/georchestra/pulls/1175/comments","review_comment_url":"https://api.github.com/repos/georchestra/georchestra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/georchestra/georchestra/issues/1175/comments","statuses_url":"https://api.github.com/repos/georchestra/georchestra/statuses/896a435de37568eeee8192881617d3f02b2c3409","head":{"label":"georchestra:ssl","ref":"ssl","sha":"896a435de37568eeee8192881617d3f02b2c3409","user":{"login":"georchestra","id":773831,"avatar_url":"https://avatars.githubusercontent.com/u/773831?v=3","gravatar_id":"","url":"https://api.github.com/users/georchestra","html_url":"https://github.com/georchestra","followers_url":"https://api.github.com/users/georchestra/followers","following_url":"https://api.github.com/users/georchestra/following{/other_user}","gists_url":"https://api.github.com/users/georchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/georchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georchestra/subscriptions","organizations_url":"https://api.github.com/users/georchestra/orgs","repos_url":"https://api.github.com/users/georchestra/repos","events_url":"https://api.github.com/users/georchestra/events{/privacy}","received_events_url":"https://api.github.com/users/georchestra/received_events","type":"Organization","site_admin":false},"repo":{"id":6066709,"name":"georchestra","full_name":"georchestra/georchestra","owner":{"login":"georchestra","id":773831,"avatar_url":"https://avatars.githubusercontent.com/u/773831?v=3","gravatar_id":"","url":"https://api.github.com/users/georchestra","html_url":"https://github.com/georchestra","followers_url":"https://api.github.com/users/georchestra/followers","following_url":"https://api.github.com/users/georchestra/following{/other_user}","gists_url":"https://api.github.com/users/georchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/georchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georchestra/subscriptions","organizations_url":"https://api.github.com/users/georchestra/orgs","repos_url":"https://api.github.com/users/georchestra/repos","events_url":"https://api.github.com/users/georchestra/events{/privacy}","received_events_url":"https://api.github.com/users/georchestra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/georchestra/georchestra","description":"This is the main geOrchestra Spatial Data Infrastructure repository","fork":false,"url":"https://api.github.com/repos/georchestra/georchestra","forks_url":"https://api.github.com/repos/georchestra/georchestra/forks","keys_url":"https://api.github.com/repos/georchestra/georchestra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/georchestra/georchestra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/georchestra/georchestra/teams","hooks_url":"https://api.github.com/repos/georchestra/georchestra/hooks","issue_events_url":"https://api.github.com/repos/georchestra/georchestra/issues/events{/number}","events_url":"https://api.github.com/repos/georchestra/georchestra/events","assignees_url":"https://api.github.com/repos/georchestra/georchestra/assignees{/user}","branches_url":"https://api.github.com/repos/georchestra/georchestra/branches{/branch}","tags_url":"https://api.github.com/repos/georchestra/georchestra/tags","blobs_url":"https://api.github.com/repos/georchestra/georchestra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/georchestra/georchestra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/georchestra/georchestra/git/refs{/sha}","trees_url":"https://api.github.com/repos/georchestra/georchestra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/georchestra/georchestra/statuses/{sha}","languages_url":"https://api.github.com/repos/georchestra/georchestra/languages","stargazers_url":"https://api.github.com/repos/georchestra/georchestra/stargazers","contributors_url":"https://api.github.com/repos/georchestra/georchestra/contributors","subscribers_url":"https://api.github.com/repos/georchestra/georchestra/subscribers","subscription_url":"https://api.github.com/repos/georchestra/georchestra/subscription","commits_url":"https://api.github.com/repos/georchestra/georchestra/commits{/sha}","git_commits_url":"https://api.github.com/repos/georchestra/georchestra/git/commits{/sha}","comments_url":"https://api.github.com/repos/georchestra/georchestra/comments{/number}","issue_comment_url":"https://api.github.com/repos/georchestra/georchestra/issues/comments{/number}","contents_url":"https://api.github.com/repos/georchestra/georchestra/contents/{+path}","compare_url":"https://api.github.com/repos/georchestra/georchestra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/georchestra/georchestra/merges","archive_url":"https://api.github.com/repos/georchestra/georchestra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/georchestra/georchestra/downloads","issues_url":"https://api.github.com/repos/georchestra/georchestra/issues{/number}","pulls_url":"https://api.github.com/repos/georchestra/georchestra/pulls{/number}","milestones_url":"https://api.github.com/repos/georchestra/georchestra/milestones{/number}","notifications_url":"https://api.github.com/repos/georchestra/georchestra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/georchestra/georchestra/labels{/name}","releases_url":"https://api.github.com/repos/georchestra/georchestra/releases{/id}","created_at":"2012-10-03T20:55:45Z","updated_at":"2015-10-31T12:46:53Z","pushed_at":"2016-01-11T14:18:41Z","git_url":"git://github.com/georchestra/georchestra.git","ssh_url":"git@github.com:georchestra/georchestra.git","clone_url":"https://github.com/georchestra/georchestra.git","svn_url":"https://github.com/georchestra/georchestra","homepage":"http://www.georchestra.org/","size":245234,"stargazers_count":26,"watchers_count":26,"language":"Game Maker Language","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":291,"forks":44,"open_issues":291,"watchers":26,"default_branch":"15.06"}},"base":{"label":"georchestra:master","ref":"master","sha":"5b0f8c25c514c2c0e09f620b469555f339401ddc","user":{"login":"georchestra","id":773831,"avatar_url":"https://avatars.githubusercontent.com/u/773831?v=3","gravatar_id":"","url":"https://api.github.com/users/georchestra","html_url":"https://github.com/georchestra","followers_url":"https://api.github.com/users/georchestra/followers","following_url":"https://api.github.com/users/georchestra/following{/other_user}","gists_url":"https://api.github.com/users/georchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/georchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georchestra/subscriptions","organizations_url":"https://api.github.com/users/georchestra/orgs","repos_url":"https://api.github.com/users/georchestra/repos","events_url":"https://api.github.com/users/georchestra/events{/privacy}","received_events_url":"https://api.github.com/users/georchestra/received_events","type":"Organization","site_admin":false},"repo":{"id":6066709,"name":"georchestra","full_name":"georchestra/georchestra","owner":{"login":"georchestra","id":773831,"avatar_url":"https://avatars.githubusercontent.com/u/773831?v=3","gravatar_id":"","url":"https://api.github.com/users/georchestra","html_url":"https://github.com/georchestra","followers_url":"https://api.github.com/users/georchestra/followers","following_url":"https://api.github.com/users/georchestra/following{/other_user}","gists_url":"https://api.github.com/users/georchestra/gists{/gist_id}","starred_url":"https://api.github.com/users/georchestra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georchestra/subscriptions","organizations_url":"https://api.github.com/users/georchestra/orgs","repos_url":"https://api.github.com/users/georchestra/repos","events_url":"https://api.github.com/users/georchestra/events{/privacy}","received_events_url":"https://api.github.com/users/georchestra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/georchestra/georchestra","description":"This is the main geOrchestra Spatial Data Infrastructure repository","fork":false,"url":"https://api.github.com/repos/georchestra/georchestra","forks_url":"https://api.github.com/repos/georchestra/georchestra/forks","keys_url":"https://api.github.com/repos/georchestra/georchestra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/georchestra/georchestra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/georchestra/georchestra/teams","hooks_url":"https://api.github.com/repos/georchestra/georchestra/hooks","issue_events_url":"https://api.github.com/repos/georchestra/georchestra/issues/events{/number}","events_url":"https://api.github.com/repos/georchestra/georchestra/events","assignees_url":"https://api.github.com/repos/georchestra/georchestra/assignees{/user}","branches_url":"https://api.github.com/repos/georchestra/georchestra/branches{/branch}","tags_url":"https://api.github.com/repos/georchestra/georchestra/tags","blobs_url":"https://api.github.com/repos/georchestra/georchestra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/georchestra/georchestra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/georchestra/georchestra/git/refs{/sha}","trees_url":"https://api.github.com/repos/georchestra/georchestra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/georchestra/georchestra/statuses/{sha}","languages_url":"https://api.github.com/repos/georchestra/georchestra/languages","stargazers_url":"https://api.github.com/repos/georchestra/georchestra/stargazers","contributors_url":"https://api.github.com/repos/georchestra/georchestra/contributors","subscribers_url":"https://api.github.com/repos/georchestra/georchestra/subscribers","subscription_url":"https://api.github.com/repos/georchestra/georchestra/subscription","commits_url":"https://api.github.com/repos/georchestra/georchestra/commits{/sha}","git_commits_url":"https://api.github.com/repos/georchestra/georchestra/git/commits{/sha}","comments_url":"https://api.github.com/repos/georchestra/georchestra/comments{/number}","issue_comment_url":"https://api.github.com/repos/georchestra/georchestra/issues/comments{/number}","contents_url":"https://api.github.com/repos/georchestra/georchestra/contents/{+path}","compare_url":"https://api.github.com/repos/georchestra/georchestra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/georchestra/georchestra/merges","archive_url":"https://api.github.com/repos/georchestra/georchestra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/georchestra/georchestra/downloads","issues_url":"https://api.github.com/repos/georchestra/georchestra/issues{/number}","pulls_url":"https://api.github.com/repos/georchestra/georchestra/pulls{/number}","milestones_url":"https://api.github.com/repos/georchestra/georchestra/milestones{/number}","notifications_url":"https://api.github.com/repos/georchestra/georchestra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/georchestra/georchestra/labels{/name}","releases_url":"https://api.github.com/repos/georchestra/georchestra/releases{/id}","created_at":"2012-10-03T20:55:45Z","updated_at":"2015-10-31T12:46:53Z","pushed_at":"2016-01-11T14:18:41Z","git_url":"git://github.com/georchestra/georchestra.git","ssh_url":"git@github.com:georchestra/georchestra.git","clone_url":"https://github.com/georchestra/georchestra.git","svn_url":"https://github.com/georchestra/georchestra","homepage":"http://www.georchestra.org/","size":245234,"stargazers_count":26,"watchers_count":26,"language":"Game Maker Language","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":291,"forks":44,"open_issues":291,"watchers":26,"default_branch":"15.06"}},"_links":{"self":{"href":"https://api.github.com/repos/georchestra/georchestra/pulls/1175"},"html":{"href":"https://github.com/georchestra/georchestra/pull/1175"},"issue":{"href":"https://api.github.com/repos/georchestra/georchestra/issues/1175"},"comments":{"href":"https://api.github.com/repos/georchestra/georchestra/issues/1175/comments"},"review_comments":{"href":"https://api.github.com/repos/georchestra/georchestra/pulls/1175/comments"},"review_comment":{"href":"https://api.github.com/repos/georchestra/georchestra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/georchestra/georchestra/pulls/1175/commits"},"statuses":{"href":"https://api.github.com/repos/georchestra/georchestra/statuses/896a435de37568eeee8192881617d3f02b2c3409"}}}}