{"id":2927,"date":"2018-02-26T17:30:23","date_gmt":"2018-02-26T14:30:23","guid":{"rendered":"https:\/\/www.howtoforge.com\/tutorial\/installation-and-usage-of-lemur-certificate-manager-on-ubuntu\/"},"modified":"2018-02-26T17:30:23","modified_gmt":"2018-02-26T14:30:23","slug":"installation-of-lemur-certificate-manager-on-ubuntu","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/installation-of-lemur-certificate-manager-on-ubuntu\/","title":{"rendered":"Installation of Lemur Certificate Manager on Ubuntu"},"content":{"rendered":"<p>This tutorial shows the installation of the Lemur certificate management software on Ubuntu 16.04 LTS.\u00a0 Lemur is an open source project of NetFlix and used to generate the certificates for customers\/clients. In this article, we will set up a Python-based virtual environment, install the required packages, configure the basic web service and access the dashboard of the certificate manager. It is assumed that you have a clean Ubuntu 16.04 LTS instance running, e.g. in the Cloud (like AWS) or a\u00a0local virtualized environment.\u00a0<\/p>\n<h2 id=\"dependencies\">Dependencies<\/h2>\n<p>Some basic prerequisites which you&#8217;ll need in order to run Lemur:<\/p>\n<ul>\n<li><strong>Linux operating system (Ubuntu 16.04 LTS is used in this tutorial).<\/strong><\/li>\n<li><strong>Python 3.5 or greater.<\/strong><\/li>\n<li><strong>PostgreSQL 9.4 or greater.<\/strong><\/li>\n<li><strong>Nginx Web server.<\/strong><\/li>\n<\/ul>\n<h2 id=\"installing-build-dependencies\">Installing Build Dependencies<\/h2>\n<p>When you install Lemur on a bare Ubuntu OS, you will need to grab the following packages so that Lemur can correctly build its dependencies:<\/p>\n<p>.. code-block:: bash<\/p>\n<p class=\"command\">sudo apt-get update<br \/>sudo apt-get install nodejs nodejs-legacy python-pip python-dev python3-dev libpq-dev build-essential libssl-dev libffi-dev libsasl2-dev libldap2-dev nginx git supervisor npm postgresql<\/p>\n<p><a class=\"fancybox\" id=\"img-required_packages1\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/required_packages1.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu.jpg\" alt=\"Install Build dependencies\" width=\"550\" height=\"81\" title=\"\"><\/a><\/p>\n<p>The above command will install nodejs, pip, nginx , git, npm, and PostgreSQL database packages.\u00a0<\/p>\n<p>Note: Installing the\u00a0<strong>node<\/strong> package manager may create the <strong>nodejs<\/strong> bin at \/usr\/bin\/nodejs path instead of \/usr\/bin\/node. Run the following command to create a soft link at the desired path.<\/p>\n<p class=\"command\">sudo ln -s \/user\/bin\/nodejs \/usr\/bin\/node<\/p>\n<p>Now, install <strong>virtualenv<\/strong> package using following command.<\/p>\n<p class=\"command\">sudo pip install -U virtualenv<\/p>\n<h2><a class=\"fancybox\" id=\"img-install_virtualenv\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/install_virtualenv.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-1.jpg\" alt=\"Install virtualenv\" width=\"550\" height=\"114\" title=\"\"><\/a><\/h2>\n<h2 id=\"setting-up-the-build-environment\">Setting up the build environment<\/h2>\n<p>In this guide, Lemur will be installed in the\u00a0<strong>\/www <\/strong>directory, so you need to create that directory first:<\/p>\n<p class=\"command\">sudo mkdir \/www<br \/>cd \/www<\/p>\n<p><a class=\"fancybox\" id=\"img-setting_environment\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/setting_environment.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-2.jpg\" alt=\"Create the www directory\" width=\"322\" height=\"116\" title=\"\"><\/a><\/p>\n<p>Now, clone\u00a0<strong>Lemur\u00a0<\/strong>latest source inside the just created directory and give yourself write permission (<strong>lemur <\/strong>user\u00a0is the created in this tutorial):<\/p>\n<p class=\"command\">sudo useradd lemur<br \/>sudo passwd lemur<br \/>sudo mkdir \/home\/lemur<br \/>sudo chown lemur:lemur \/home\/lemur<\/p>\n<p><a class=\"fancybox\" id=\"img-creation_of_user\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/creation_of_user.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-3.jpg\" alt=\"Add a user for lemur\" width=\"443\" height=\"191\" title=\"\"><\/a><\/p>\n<p class=\"command\">sudo git clone https:\/\/github.com\/Netflix\/lemur<br \/>sudo chown -R lemur lemur\/<\/p>\n<p><a class=\"fancybox\" id=\"img-clone_lemur\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/clone_lemur.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-4.jpg\" alt=\"Clone lemur source code\" width=\"550\" height=\"182\" title=\"\"><\/a><\/p>\n<p>Also, create the virtual environment, activate it and enter Lemur&#8217;s directory:<\/p>\n<p class=\"command\">su lemur<br \/>virtualenv -p python3 lemur<\/p>\n<p><a class=\"fancybox\" id=\"img-change_user_to_lemur_and_set_virtualenv\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/change_user_to_lemur_and_set_virtualenv.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-5.jpg\" alt=\"Create virtualenv\" width=\"496\" height=\"222\" title=\"\"><\/a><\/p>\n<p class=\"command\">source \/www\/lemur\/bin\/activate<br \/>cd lemur<\/p>\n<p><a class=\"fancybox\" id=\"img-activate_the_virualenv\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/activate_the_virualenv.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-6.jpg\" alt=\"source lemur directory\" width=\"477\" height=\"53\" title=\"\"><\/a><\/p>\n<p>Activating the environment adjusts <strong>PATH <\/strong>environment variable , so that things like pip now install into the virtualenv by default.<\/p>\n<h2 id=\"installing-lemur-from-source\">Installing Lemur from Source<\/h2>\n<p>After setting up the system, make sure that you are in the virtualenv to run &#8220;make release&#8221; command.<\/p>\n<p class=\"command\">which python<\/p>\n<p><a class=\"fancybox\" id=\"img-ensure_python\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/ensure_python.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-7.jpg\" alt=\"Check python release\" width=\"410\" height=\"97\" title=\"\"><\/a><\/p>\n<p>And run the following command to install <strong>npm<\/strong> dependencies as well as compile static assets.<\/p>\n<p class=\"command\">\u00a0make release<\/p>\n<h2><a class=\"fancybox\" id=\"img-install_npm_dependencies\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/install_npm_dependencies.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-8.jpg\" alt=\"Build the release code\" width=\"517\" height=\"126\" title=\"\"><\/a><\/h2>\n<h2 id=\"creating-lemur-configuration\">Creating Lemur configuration<\/h2>\n<p>Before we run Lemur, we must create a valid configuration file for it. The Lemur command line interface comes with a simple command to get you up and running quickly. The following command will create a default configuration under &#8220;<strong>~\/.lemur\/lemur.conf.py<\/strong>&#8221; and this location can be specify by passing the <strong>config_path<\/strong> parameter to the <strong>create_config<\/strong> command.<\/p>\n<p class=\"command\">\u00a0lemur create_config<\/p>\n<h2><a class=\"fancybox\" id=\"img-creation_of_config_file\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/creation_of_config_file.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-9.jpg\" alt=\"Create lemur configuration\" width=\"550\" height=\"67\" title=\"\"><\/a><\/h2>\n<h2 id=\"update-lemur-configuration\">Update Lemur configuration<\/h2>\n<p>Once created, you will need to update the configuration file with information about your environment, such as which database to talk to, where keys are stored etc.<\/p>\n<p class=\"command\">vi ~\/.lemur\/lemur.conf.py<\/p>\n<p>The <strong>SQLALCHEMY_DATABASE_URI<\/strong>\u00a0string of <strong>Postgresql <\/strong>can be broken up like this:<br \/>&#8220;postgresql:\/\/userame:<a href=\"https:\/\/www.howtoforge.com\/cdn-cgi\/l\/email-protection\" class=\"__cf_email__\" data-cfemail=\"b8c8d9cbcbcfd7cadcf8\" target=\"_blank\" rel=\"noopener\">[email\u00a0protected]<\/a>&lt;database-fqdn&gt;:&lt;database-port&gt;\/&lt;database-name&gt;&#8221;<\/p>\n<p>The below given screenshot shows that following required variables are filled in the configuration file:<\/p>\n<pre>LEMUR_SECURITY_TEAM_EMAIL<\/pre>\n<pre>LEMUR_DEFAULT_COUNTRY<br\/>LEMUR_DEFAULT_STATE<br\/>LEMUR_DEFAULT_LOCATION<br\/>LEMUR_DEFAULT_ORGANIZATION<br\/>LEMUR_DEFAULT_ORGANIZATIONAL_UNIT<\/pre>\n<p><a class=\"fancybox\" id=\"img-config_file_content\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/config_file_content.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-10.jpg\" alt=\"Update lemur config\" width=\"550\" height=\"405\" title=\"\"><\/a><\/p>\n<h2 id=\"setup-postgres-database\">Setup Postgres Database<\/h2>\n<p>For production, a dedicated database is recommended. For this guide, I will assume postgres has been installed and is on the same machine that Lemur is installed on.<\/p>\n<p>First, set a password for the postgres user. For this guide, we will use <strong>lemur<\/strong> as an example but you should use the database password generated by Lemur:<\/p>\n<p class=\"command\">sudo -u postgres -i<\/p>\n<p><a class=\"fancybox\" id=\"img-postgresql_login\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/postgresql_login.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-11.jpg\" alt=\"Add lemur user in postgres\" width=\"356\" height=\"80\" title=\"\"><\/a><\/p>\n<p class=\"command\">psql<br \/>postgres=# CREATE USER lemur WITH PASSWORD &#8216;lemur&#8217;;<\/p>\n<p><a class=\"fancybox\" id=\"img-create_postgresql_user\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/create_postgresql_user.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-12.jpg\" alt=\"Create user\" width=\"485\" height=\"205\" title=\"\"><\/a><\/p>\n<p>Once successful, type CTRL-D to exit the Postgres shell.<\/p>\n<p>Next, we will create our new database:<\/p>\n<p class=\"command\">sudo -u postgres createdb lemur<\/p>\n<p><a class=\"fancybox\" id=\"img-db_create_in_postgresql\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/db_create_in_postgresql.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-13.jpg\" alt=\"Create the database\" width=\"523\" height=\"112\" title=\"\"><\/a><\/p>\n<h2 id=\"initializing-lemur-certificate-managernbsp\">Initializing Lemur Certificate Manager\u00a0<\/h2>\n<p>Lemur provides a helpful command that will initialize your database for you. It creates a default user (<strong>lemur<\/strong>) that is used by Lemur to help associate certificates that do not currently have an owner. This is most commonly the case when Lemur has discovered certificates from a third party source. This is also a default user that can be used to administer Lemur.<\/p>\n<p>In addition to creating a new user, Lemur also creates a few default email notifications. These notifications are based on a few configuration options such as <strong>LEMUR_SECURITY_TEAM_EMAIL<\/strong>. They basically guarantee that every certificate within Lemur will send one expiration notification to the security team.<\/p>\n<p><em>Make note of the password used as this will be used during first login to the Lemur UI.<\/em><\/p>\n<p class=\"command\"><span class=\"nb\">cd<\/span> \/www\/lemur\/lemur\u00a0<\/p>\n<p class=\"command\">lemur init<\/p>\n<p><a class=\"fancybox\" id=\"img-lemur_initialization\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/lemur_initialization.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-14.jpg\" alt=\"Initiate lemur\" width=\"467\" height=\"90\" title=\"\"><\/a><\/p>\n<p>The following snapshot shows the output of the &#8220;lemur init&#8221; command.<\/p>\n<p><a class=\"fancybox\" id=\"img-lemur_initialization-1\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/lemur_initialization-1.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-15.jpg\" alt=\"Lemur init command\" width=\"550\" height=\"278\" title=\"\"><\/a><\/p>\n<h2 id=\"nginx-web-server-configuration-for-lemur\">NGINX web server configuration for Lemur<\/h2>\n<p>By default, Lemur runs on port 8000. Even if you change this, under normal conditions you won&#8217;t be able to bind to port 80. To get around this (and to avoid running Lemur as a privileged user, which you shouldn&#8217;t), we need setup a simple web proxy. There are many different web servers you can use for this, we like and recommend Nginx.<\/p>\n<p>Add following lines in the configuration file &#8220;<strong>\/etc\/nginx\/sites-available\/default<\/strong>&#8220;.<\/p>\n<pre>location \/api {<br\/>proxy_pass http:\/\/127.0.0.1:8000;<br\/>proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;<br\/>proxy_redirect off;<br\/>proxy_buffering off;<br\/>proxy_set_header Host $host;<br\/>proxy_set_header X-Real-IP $remote_addr;<br\/>proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br\/>}<\/pre>\n<pre>location \/ {<br\/>root \/www\/lemur\/lemur\/static\/dist;<br\/>include mime.types;<br\/>index index.html;<br\/>}<\/pre>\n<p><a class=\"fancybox\" id=\"img-nginx_setting\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/nginx_setting.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-16.jpg\" alt=\"Configure nginx as proxy for lemur\" width=\"550\" height=\"374\" title=\"\"><\/a><\/p>\n<p>After making these changes, restart Nginx service to apply them:<\/p>\n<p class=\"command\">sudo service nginx restart<\/p>\n<p><a class=\"fancybox\" id=\"img-restart_nginx_service\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/restart_nginx_service.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-17.jpg\" alt=\"Restart nginx\" width=\"476\" height=\"129\" title=\"\"><\/a><\/p>\n<h2 id=\"starting-the-web-service\">Starting the Web Service<\/h2>\n<p>Lemur provides a built-in web server (powered by gunicorn and eventlet) to get you off the ground quickly. To start the web server, you simply use &#8220;<strong>lemur start<\/strong>&#8220;.<\/p>\n<p><a class=\"fancybox\" id=\"img-running_lemur_certificate_manger\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/running_lemur_certificate_manger.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-18.jpg\" alt=\"Start lemur web server\" width=\"550\" height=\"140\" title=\"\"><\/a><\/p>\n<p>You can login with the default user created during Initializing Lemur or any other user you may have created.You should now be able to test the web service by visiting <strong>http:\/\/192.168.10.51:8000\/<\/strong>. (192.168.10.51 is the ip address of the Lemur machine).<\/p>\n<p><a class=\"fancybox\" id=\"img-lemur_dashboard\" href=\"https:\/\/www.howtoforge.com\/images\/installation_and_usage_of_lemur_certificate_manager_on_ubuntu_platform_\/big\/lemur_dashboard.JPG\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/02\/installation-of-lemur-certificate-manager-on-ubuntu-19.jpg\" alt=\"Login to lemur certificate manager\" width=\"550\" height=\"192\" title=\"\"><\/a><\/p>\n<p>The Dashboard of the Lemur is shown above. It is used to create certificates using self signed or root Certificate Authorities.\u00a0<\/p>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>In this tutorial, the Lemur certificate manager is installed on the latest Ubuntu LTS version. The purpose of Lemur is to create and manage certificates. It also supports different roles of users.\u00a0<\/p>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial shows the installation of the Lemur certificate management software on Ubuntu 16.04 LTS.\u00a0 Lemur is an open source project of NetFlix and used to generate the certificates for customers\/clients. In this article, we will set up a Python-based virtual environment, install the required packages, configure the basic web service and access the dashboard &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-2927","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/2927","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=2927"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/2927\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=2927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=2927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=2927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}