{"action":"created","issue":{"url":"https://api.github.com/repos/srvrco/getssl/issues/103","repository_url":"https://api.github.com/repos/srvrco/getssl","labels_url":"https://api.github.com/repos/srvrco/getssl/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/srvrco/getssl/issues/103/comments","events_url":"https://api.github.com/repos/srvrco/getssl/issues/103/events","html_url":"https://github.com/srvrco/getssl/issues/103","id":175532599,"number":103,"title":"Problem creation certificate","user":{"login":"lupoalberto12","id":6494809,"avatar_url":"https://avatars.githubusercontent.com/u/6494809?v=3","gravatar_id":"","url":"https://api.github.com/users/lupoalberto12","html_url":"https://github.com/lupoalberto12","followers_url":"https://api.github.com/users/lupoalberto12/followers","following_url":"https://api.github.com/users/lupoalberto12/following{/other_user}","gists_url":"https://api.github.com/users/lupoalberto12/gists{/gist_id}","starred_url":"https://api.github.com/users/lupoalberto12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lupoalberto12/subscriptions","organizations_url":"https://api.github.com/users/lupoalberto12/orgs","repos_url":"https://api.github.com/users/lupoalberto12/repos","events_url":"https://api.github.com/users/lupoalberto12/events{/privacy}","received_events_url":"https://api.github.com/users/lupoalberto12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-07T15:25:38Z","updated_at":"2016-09-09T13:04:50Z","closed_at":null,"body":"Hi,\r\nI'm trying to use this script whit this two commands:\r\n./getssl -c mydomain.com\r\n./getssl mydomain.com\r\n\r\nbut it didn't generate the \"chain.crt\" e \"domain.crt\", only \"www.mydomain.com.crt\" file.\r\nFurthemore, I didn't find the private key file or it didn't create it (to the path that I wrote).\r\nI also tried to generate a certificate with a my private key and use it with \"www.mydomain.com.key\" file (I wrote the path of my private key in \"www.mydomain.com/getssl.cfg\" file) but it didn't work.\r\nI also tried to use \"create-getssl-config\" script to generate .cfg file for my domain but the result didn't change.\r\n\r\nWhere is the private key generate by script?\r\nI'm executing it as root user on VM with Ubuntu 16.04.\r\nI want a certificate without validate it at once.\r\nThanks.\r\nBye."},"comment":{"url":"https://api.github.com/repos/srvrco/getssl/issues/comments/245906798","html_url":"https://github.com/srvrco/getssl/issues/103#issuecomment-245906798","issue_url":"https://api.github.com/repos/srvrco/getssl/issues/103","id":245906798,"user":{"login":"lupoalberto12","id":6494809,"avatar_url":"https://avatars.githubusercontent.com/u/6494809?v=3","gravatar_id":"","url":"https://api.github.com/users/lupoalberto12","html_url":"https://github.com/lupoalberto12","followers_url":"https://api.github.com/users/lupoalberto12/followers","following_url":"https://api.github.com/users/lupoalberto12/following{/other_user}","gists_url":"https://api.github.com/users/lupoalberto12/gists{/gist_id}","starred_url":"https://api.github.com/users/lupoalberto12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lupoalberto12/subscriptions","organizations_url":"https://api.github.com/users/lupoalberto12/orgs","repos_url":"https://api.github.com/users/lupoalberto12/repos","events_url":"https://api.github.com/users/lupoalberto12/events{/privacy}","received_events_url":"https://api.github.com/users/lupoalberto12/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T13:04:50Z","updated_at":"2016-09-09T13:04:50Z","body":"Hi,\r\nhere the vhost:\r\n\r\n`<VirtualHost *:443>\r\n  ServerName www.mydomain.com\r\n  ServerAlias www.mydomain.eu\r\n  DocumentRoot /srv/www/mydomain/current/\r\n\r\n  SSLEngine on\r\n  SSLProxyEngine on\r\n  SSLCertificateFile /etc/apache2/ssl/www.mydomain.com.crt\r\n  SSLCertificateKeyFile /etc/apache2/ssl/www.mydomain.com.key\r\n  SSLCACertificateFile /etc/apache2/ssl/www.mydomain.com.ca\r\n  SetEnvIf User-Agent \".*MSIE.*\" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0\r\n\r\n  <Directory /srv/www/mydomain/current/>\r\n    Options FollowSymLinks\r\n    AllowOverride All\r\n    Order allow,deny\r\n    Allow from all\r\n  </Directory>\r\n\r\n  <Directory ~ \"\\.svn\">\r\n    Order allow,deny\r\n    Deny from all\r\n  </Directory>\r\n\r\n  <Directory ~ \"\\.git\">\r\n    Order allow,deny\r\n    Deny from all\r\n  </Directory>\r\n\r\n  LogLevel info\r\n  ErrorLog /var/log/apache2/mydomain-error.log\r\n  CustomLog /var/log/apache2/mydomain-ssl-access.log combined\r\n  CustomLog /var/log/apache2/mydomain-ssl-ganglia.log ganglia\r\n\r\n  FileETag none\r\n\r\n  RewriteEngine On\r\n  IncludeOptional /etc/apache2/sites-available/mydomain.conf.d/rewrite-ssl*\r\n\r\n\r\n\r\n  IncludeOptional /etc/apache2/sites-available/mydomain.conf.d/local-ssl*\r\n</VirtualHost>`\r\n\r\n\r\nFrom log:\r\n\r\n> [Fri Sep 09 12:54:18.348601 2016] [core:info] [pid 20050] AH00096: removed PID file /var/run/apache2/apache2.pid (pid=20050)\r\n> [Fri Sep 09 12:54:18.348650 2016] [mpm_prefork:notice] [pid 20050] AH00169: caught SIGTERM, shutting down\r\n> [Fri Sep 09 12:54:19.396447 2016] [:notice] [pid 21092] mod_myfixip 1.4 started\r\n> [Fri Sep 09 12:54:19.397235 2016] [ssl:emerg] [pid 21092] AH02241: Init: Unable to read server certificate from file /etc/apache2/ssl/www.mydomain.it.crt\r\n> [Fri Sep 09 12:54:19.397269 2016] [ssl:emerg] [pid 21092] SSL Library Error: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag\r\n> [Fri Sep 09 12:54:19.397281 2016] [ssl:emerg] [pid 21092] SSL Library Error: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error (Type=X509)\r\n> [Fri Sep 09 12:54:19.397288 2016] [ssl:emerg] [pid 21092] AH02312: Fatal error initialising mod_ssl, exiting.\r\n> [Fri Sep 09 12:56:38.163232 2016] [:notice] [pid 21904] mod_myfixip 1.4 started\r\n\r\n\r\nThanks.\r\nBye."}}
{"actor":{"display_login":"lupoalberto12"}}