310 lines
10 KiB
HTML
310 lines
10 KiB
HTML
|
||
|
||
<!DOCTYPE html>
|
||
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
||
|
||
<!-- Mirrored from opennamesearch.docs.acugis.com/en/latest/ssl.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 15 Jul 2023 21:59:01 GMT -->
|
||
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
|
||
<head>
|
||
<meta charset="utf-8">
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
||
<title>Enable SSL — OpenNameSearch 1.0 documentation</title>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<script type="text/javascript" src="_static/js/modernizr.min.js"></script>
|
||
|
||
|
||
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
|
||
<script type="text/javascript" src="_static/jquery.js"></script>
|
||
<script type="text/javascript" src="_static/underscore.js"></script>
|
||
<script type="text/javascript" src="_static/doctools.js"></script>
|
||
<script type="text/javascript" src="_static/language_data.js"></script>
|
||
<script async="async" type="text/javascript" src="../../_/static/javascript/readthedocs-doc-embed.js"></script>
|
||
|
||
<script type="text/javascript" src="_static/js/theme.js"></script>
|
||
|
||
|
||
|
||
|
||
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||
<link rel="index" title="Index" href="genindex.html" />
|
||
<link rel="search" title="Search" href="search.html" />
|
||
<link rel="prev" title="Installation and Usage" href="installation.html" />
|
||
|
||
<!-- RTD Extra Head -->
|
||
|
||
<link rel="stylesheet" href="../../_/static/css/readthedocs-doc-embed.css" type="text/css" />
|
||
|
||
<script type="application/json" id="READTHEDOCS_DATA">{"ad_free": false, "api_host": "https://readthedocs.org", "builder": "sphinx", "canonical_url": null, "docroot": "/docs/", "features": {"docsearch_disabled": false}, "global_analytics_code": "UA-17997319-1", "language": "en", "page": "ssl", "programming_language": "words", "project": "opennamesearch", "proxied_api_host": "/_", "source_suffix": ".rst", "subprojects": {}, "theme": "sphinx_rtd_theme", "user_analytics_code": "", "version": "latest"}</script>
|
||
|
||
<!--
|
||
Using this variable directly instead of using `JSON.parse` is deprecated.
|
||
The READTHEDOCS_DATA global variable will be removed in the future.
|
||
-->
|
||
<script type="text/javascript">
|
||
READTHEDOCS_DATA = JSON.parse(document.getElementById('READTHEDOCS_DATA').innerHTML);
|
||
</script>
|
||
|
||
<script type="text/javascript" src="../../_/static/javascript/readthedocs-analytics.js" async="async"></script>
|
||
|
||
<!-- end RTD <extrahead> -->
|
||
</head>
|
||
|
||
<body class="wy-body-for-nav">
|
||
|
||
|
||
<div class="wy-grid-for-nav">
|
||
|
||
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
||
<div class="wy-side-scroll">
|
||
<div class="wy-side-nav-search" >
|
||
|
||
|
||
|
||
<a href="index-2.html" class="icon icon-home"> OpenNameSearch
|
||
|
||
|
||
|
||
</a>
|
||
|
||
|
||
|
||
|
||
|
||
<div class="version">
|
||
latest
|
||
</div>
|
||
|
||
|
||
|
||
|
||
<div role="search">
|
||
<form id="rtd-search-form" class="wy-form" action="https://opennamesearch.docs.acugis.com/en/latest/search.html" method="get">
|
||
<input type="text" name="q" placeholder="Search docs" />
|
||
<input type="hidden" name="check_keywords" value="yes" />
|
||
<input type="hidden" name="area" value="default" />
|
||
</form>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<p class="caption"><span class="caption-text">Getting Started</span></p>
|
||
<ul class="current">
|
||
<li class="toctree-l1"><a class="reference internal" href="intro.html">Intro</a></li>
|
||
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation and Usage</a></li>
|
||
<li class="toctree-l1 current"><a class="current reference internal" href="#">Enable SSL</a><ul>
|
||
<li class="toctree-l2"><a class="reference internal" href="#get-certificate">Get Certificate</a></li>
|
||
<li class="toctree-l2"><a class="reference internal" href="#update-configuration">Update Configuration</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</nav>
|
||
|
||
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
||
|
||
|
||
<nav class="wy-nav-top" aria-label="top navigation">
|
||
|
||
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
||
<a href="index-2.html">OpenNameSearch</a>
|
||
|
||
</nav>
|
||
|
||
|
||
<div class="wy-nav-content">
|
||
|
||
<div class="rst-content">
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div role="navigation" aria-label="breadcrumbs navigation">
|
||
|
||
<ul class="wy-breadcrumbs">
|
||
|
||
<li><a href="index-2.html">Docs</a> »</li>
|
||
|
||
<li>Enable SSL</li>
|
||
|
||
|
||
<li class="wy-breadcrumbs-aside">
|
||
|
||
|
||
|
||
<a href="https://github.com/AcuGIS/OpenNameSearch/blob/master/docs/ssl.rst" class="fa fa-github"> Edit on GitHub</a>
|
||
|
||
|
||
|
||
</li>
|
||
|
||
</ul>
|
||
|
||
|
||
<hr/>
|
||
</div>
|
||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||
<div itemprop="articleBody">
|
||
|
||
<div class="section" id="enable-ssl">
|
||
<h1>Enable SSL<a class="headerlink" href="#enable-ssl" title="Permalink to this headline">¶</a></h1>
|
||
<div class="section" id="get-certificate">
|
||
<h2>Get Certificate<a class="headerlink" href="#get-certificate" title="Permalink to this headline">¶</a></h2>
|
||
<p>In order to provision SSL for your instance, follow below:</p>
|
||
<ol class="arabic">
|
||
<li><p class="first">Install the python Cerbot module for Apache:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="o">-</span><span class="n">y</span> <span class="n">install</span> <span class="n">python3</span><span class="o">-</span><span class="n">certbot</span><span class="o">-</span><span class="n">apache</span>
|
||
</pre></div>
|
||
</div>
|
||
</li>
|
||
<li><p class="first">Request certificate:</p>
|
||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">certbot</span> <span class="o">--</span><span class="n">apache</span> <span class="o">--</span><span class="n">agree</span><span class="o">-</span><span class="n">tos</span> <span class="o">--</span><span class="n">email</span> <span class="n">hostmaster</span><span class="nd">@domain</span><span class="o">.</span><span class="n">com</span> <span class="o">--</span><span class="n">no</span><span class="o">-</span><span class="n">eff</span><span class="o">-</span><span class="n">email</span> <span class="o">-</span><span class="n">d</span> <span class="n">domain</span><span class="o">.</span><span class="n">com</span>
|
||
</pre></div>
|
||
</div>
|
||
</li>
|
||
</ol>
|
||
<p>Be sure to replace ‘domain.com’ above with your actual domain or sub domain.</p>
|
||
</div>
|
||
<div class="section" id="update-configuration">
|
||
<h2>Update Configuration<a class="headerlink" href="#update-configuration" title="Permalink to this headline">¶</a></h2>
|
||
<p>You will need to update the Nominatim webapp configuration.</p>
|
||
<p>To do so, edit /var/www/html/theme/config.theme.js</p>
|
||
<p>Replace:</p>
|
||
<blockquote>
|
||
<div>Nominatim_Config.Nominatim_API_Endpoint = “<a class="reference external" href="http://domain.com/nominatim/">http://domain.com/nominatim/</a>”</div></blockquote>
|
||
<p>with:</p>
|
||
<blockquote>
|
||
<div>Nominatim_Config.Nominatim_API_Endpoint = “<a class="reference external" href="https://domain.com/nominatim/">https://domain.com/nominatim/</a>”</div></blockquote>
|
||
<p>Restart Apache for update to take effect:</p>
|
||
<blockquote>
|
||
<div>service apache2 restart</div></blockquote>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
</div>
|
||
<footer>
|
||
|
||
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
||
|
||
|
||
<a href="installation.html" class="btn btn-neutral float-left" title="Installation and Usage" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
||
|
||
</div>
|
||
|
||
|
||
<hr/>
|
||
|
||
<div role="contentinfo">
|
||
<p>
|
||
© Copyright 2020, Cited, Inc.
|
||
|
||
<span class="commit">
|
||
Revision <code>53d05419</code>.
|
||
</span>
|
||
|
||
|
||
</p>
|
||
</div>
|
||
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org/">Read the Docs</a>.
|
||
|
||
</footer>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</section>
|
||
|
||
</div>
|
||
|
||
|
||
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
|
||
<span class="rst-current-version" data-toggle="rst-current-version">
|
||
<span class="fa fa-book"> Read the Docs</span>
|
||
v: latest
|
||
<span class="fa fa-caret-down"></span>
|
||
</span>
|
||
<div class="rst-other-versions">
|
||
<dl>
|
||
<dt>Versions</dt>
|
||
|
||
<dd><a href="index.html">latest</a></dd>
|
||
|
||
</dl>
|
||
<dl>
|
||
<dt>Downloads</dt>
|
||
|
||
<dd><a href="http://opennamesearch.docs.acugis.com/_/downloads/en/latest/pdf/">pdf</a></dd>
|
||
|
||
<dd><a href="http://opennamesearch.docs.acugis.com/_/downloads/en/latest/htmlzip/">html</a></dd>
|
||
|
||
<dd><a href="http://opennamesearch.docs.acugis.com/_/downloads/en/latest/epub/">epub</a></dd>
|
||
|
||
</dl>
|
||
<dl>
|
||
<dt>On Read the Docs</dt>
|
||
<dd>
|
||
<a href="http://readthedocs.org/projects/opennamesearch/?fromdocs=opennamesearch">Project Home</a>
|
||
</dd>
|
||
<dd>
|
||
<a href="http://readthedocs.org/builds/opennamesearch/?fromdocs=opennamesearch">Builds</a>
|
||
</dd>
|
||
</dl>
|
||
<hr/>
|
||
Free document hosting provided by <a href="http://www.readthedocs.org/">Read the Docs</a>.
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
|
||
<script type="text/javascript">
|
||
jQuery(function () {
|
||
SphinxRtdTheme.Navigation.enable(true);
|
||
});
|
||
</script>
|
||
|
||
|
||
|
||
|
||
</body>
|
||
|
||
<!-- Mirrored from opennamesearch.docs.acugis.com/en/latest/ssl.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 15 Jul 2023 21:59:01 GMT -->
|
||
</html> |