<p>I am following this documentation <a href="https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#securing-the-service" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#securing-the-service</a> and tried the following command: </p>

<pre><code>make keys secret KEY=/tmp/nginx.key CERT=/tmp/nginx.crt SECRET=/tmp/secret.json
</code></pre>

<p>But it is failing with error:</p>

<pre><code>make: *** No rule to make target `keys'.  Stop.
</code></pre>

<p>Any suggestions?</p>

<p>This is from <a href="https://github.com/kubernetes/examples/blob/master/staging/https-nginx/Makefile" rel="nofollow noreferrer">Makefile</a> described above in link. You need to pull repo, change directory and run action from makefile.</p>

<p><code>keys</code> action is next one (according that makefile)</p>

<pre><code>openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout $(KEY) -out $(CERT) -subj "/CN=nginxsvc/O=nginxsvc"
</code></pre>

<p><code>make</code> command just runs actions described in <code>Makefile</code> (which you need to pull locally )</p>
