{"action":"opened","issue":{"url":"https://api.github.com/repos/Shopify/slate/issues/865","repository_url":"https://api.github.com/repos/Shopify/slate","labels_url":"https://api.github.com/repos/Shopify/slate/issues/865/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/slate/issues/865/comments","events_url":"https://api.github.com/repos/Shopify/slate/issues/865/events","html_url":"https://github.com/Shopify/slate/issues/865","id":376853262,"node_id":"MDU6SXNzdWUzNzY4NTMyNjI=","number":865,"title":"ssl-check script hitting errors on Windows 10","user":{"login":"HauntedSmores","id":20644458,"node_id":"MDQ6VXNlcjIwNjQ0NDU4","avatar_url":"https://avatars3.githubusercontent.com/u/20644458?v=4","gravatar_id":"","url":"https://api.github.com/users/HauntedSmores","html_url":"https://github.com/HauntedSmores","followers_url":"https://api.github.com/users/HauntedSmores/followers","following_url":"https://api.github.com/users/HauntedSmores/following{/other_user}","gists_url":"https://api.github.com/users/HauntedSmores/gists{/gist_id}","starred_url":"https://api.github.com/users/HauntedSmores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HauntedSmores/subscriptions","organizations_url":"https://api.github.com/users/HauntedSmores/orgs","repos_url":"https://api.github.com/users/HauntedSmores/repos","events_url":"https://api.github.com/users/HauntedSmores/events{/privacy}","received_events_url":"https://api.github.com/users/HauntedSmores/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-02T15:18:25Z","updated_at":"2018-11-02T15:18:25Z","closed_at":null,"author_association":"NONE","body":"I would like to start by mentioning that I'm well aware that the Slate team is expecting there to be issues with the Slatev1 on win10, as they have started numerous times that they have not have not yet tested everything outside of macOS.\r\n\r\nWith that being said, I think its very close and this particular issue might be resolved with help from some bash nerds + Windows users.\r\n\r\n### Problem\r\nWhen setting up the SSL certificate, as described [here](https://github.com/Shopify/slate/wiki/4.-Create-a-self-signed-SSL-certificate), the `ssl-check` function runs into some issues. Im not knowledgeable enough in the tools used in this step of the process to do anything meaningful with these errors but theyre still pretty descriptive and I think someone else likely will be.\r\n\r\nNote: This is after step 2 in the docs (linked above), installing `mkcert` on Windows 10 using chocolaty, then running `mkcert -install` in Powershell as admin which gave success messages.\r\n\r\nI can see the certs in my file system at\r\n`C:\\Users\\name\\AppData\\Local\\mkcert\\rootCA.pem`\r\nand\r\n`C:\\Users\\name\\AppData\\Local\\mkcert\\rootCA-key.pem`\r\n\r\n```\r\n$ ssl-check\r\n\r\nManipulates network routing tables.\r\n\r\nROUTE [-f] [-p] [-4|-6] command [destination]\r\n                  [MASK netmask]  [gateway] [METRIC metric]  [IF interface]\r\n\r\n  -f           Clears the routing tables of all gateway entries.  If this is\r\n               used in conjunction with one of the commands, the tables are\r\n               cleared prior to running the command.\r\n\r\n  -p           When used with the ADD command, makes a route persistent across\r\n               boots of the system. By default, routes are not preserved\r\n               when the system is restarted. Ignored for all other commands,\r\n               which always affect the appropriate persistent routes.\r\n\r\n  -4           Force using IPv4.\r\n\r\n  -6           Force using IPv6.\r\n\r\n  command      One of these:\r\n                 PRINT     Prints  a route\r\n                 ADD       Adds    a route\r\n                 DELETE    Deletes a route\r\n                 CHANGE    Modifies an existing route\r\n  destination  Specifies the host.\r\n  MASK         Specifies that the next parameter is the 'netmask' value.\r\n  netmask      Specifies a subnet mask value for this route entry.\r\n               If not specified, it defaults to 255.255.255.255.\r\n  gateway      Specifies gateway.\r\n  interface    the interface number for the specified route.\r\n  METRIC       specifies the metric, ie. cost for the destination.\r\n\r\nAll symbolic names used for destination are looked up in the network database\r\nfile NETWORKS. The symbolic names for gateway are looked up in the host name\r\ndatabase file HOSTS.\r\n\r\nIf the command is PRINT or DELETE. Destination or gateway can be a wildcard,\r\n(wildcard is specified as a star '*'), or the gateway argument may be omitted.\r\n\r\nIf Dest contains a * or ?, it is treated as a shell pattern, and only\r\nmatching destination routes are printed. The '*' matches any string,\r\nand '?' matches any one char. Examples: 157.*.1, 157.*, 127.*, *224*.\r\n\r\nPattern match is only allowed in PRINT command.\r\nDiagnostic Notes:\r\n    Invalid MASK generates an error, that is when (DEST & MASK) != DEST.\r\n    Example> route ADD 157.0.0.0 MASK 155.0.0.0 157.55.80.1 IF 1\r\n             The route addition failed: The specified mask parameter is invalid. (Destination & Mask) != Destination.\r\n\r\nExamples:\r\n\r\n    > route PRINT\r\n    > route PRINT -4\r\n    > route PRINT -6\r\n    > route PRINT 157*          .... Only prints those matching 157*\r\n\r\n    > route ADD 157.0.0.0 MASK 255.0.0.0  157.55.80.1 METRIC 3 IF 2\r\n             destination^      ^mask      ^gateway     metric^    ^\r\n                                                         Interface^\r\n      If IF is not given, it tries to find the best interface for a given\r\n      gateway.\r\n    > route ADD 3ffe::/32 3ffe::1\r\n\r\n    > route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2\r\n\r\n      CHANGE is used to modify gateway and/or metric only.\r\n\r\n    > route DELETE 157.0.0.0\r\n    > route DELETE 3ffe::/32\r\n\r\n?  Couldn't find a Slate SSL certificate:\r\nGenerating a new Slate SSL certificate...\r\n\r\nUsing the local CA at \"C:\\Users\\degal\\AppData\\Local\\mkcert\" ✨\r\nERROR: \"\\r\" is not a valid hostname or IP\r\nmv: cannot stat './localhost+1.pem': No such file or directory\r\nmv: cannot stat './localhost+1-key.pem': No such file or directory\r\n```\r\n\r\n\r\n### Replication steps\r\n\r\nFollow normal Slate installation instructions as provided by the wiki on Windows 10 using git-bash for most of the way, but installing `mkcert` using Powershell as admin.\r\n\r\nFollow part 4 of the wiki and run the `ssl-check` to produce the error.\r\n\r\n### More Information\r\nWindows 10\r\ngit-bash/powershell\r\nnode v8.9.3\r\nnpm v6.4.1\r\n\r\n"}}
{"actor":{"display_login":"HauntedSmores"}}