<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anuj Singh Tomar</title>
    <description>The latest articles on DEV Community by Anuj Singh Tomar (@atomar).</description>
    <link>https://dev.to/atomar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F471122%2F990f3639-0cea-4229-a452-d18d47728744.jpeg</url>
      <title>DEV Community: Anuj Singh Tomar</title>
      <link>https://dev.to/atomar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/atomar"/>
    <language>en</language>
    <item>
      <title>Dual boot linux learning UEFI vs MBR</title>
      <dc:creator>Anuj Singh Tomar</dc:creator>
      <pubDate>Fri, 08 Nov 2024 10:17:09 +0000</pubDate>
      <link>https://dev.to/atomar/dual-boot-linux-learning-uefi-vs-mbr-34la</link>
      <guid>https://dev.to/atomar/dual-boot-linux-learning-uefi-vs-mbr-34la</guid>
      <description>&lt;p&gt;Pay special attention when installing windows, ensure you install it in Uefi/gpt partition scheme and not MBR/dos scheme.&lt;/p&gt;

&lt;p&gt;My OG HDD was uefi, i used some tool to copy over OS from that HDD to new NVME SSD and sadly it did it in DOS partition scheme, have tried mbr2gpt but no luck … now only option is to delete everything and then reinstall windows with uefi so that i can easily dual boot with fedora .&lt;/p&gt;

</description>
      <category>linux</category>
    </item>
    <item>
      <title>Decrypt Weblogic Console Password using wlst</title>
      <dc:creator>Anuj Singh Tomar</dc:creator>
      <pubDate>Sat, 13 Feb 2021 16:13:56 +0000</pubDate>
      <link>https://dev.to/atomar/decrypt-weblogic-console-password-using-wlst-831</link>
      <guid>https://dev.to/atomar/decrypt-weblogic-console-password-using-wlst-831</guid>
      <description>&lt;p&gt;If you have forgotten the console password or any other password for the domain, you can use below wlst commands to decrypt the passwords&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1 – Note down below two values:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Domain Location&lt;br&gt;
Encrypted password which you want to decrypt&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;2 – Invoke wlst &amp;amp; run below commands:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;wls:/offline&amp;gt; domain ="/home/weblogic/Oracle/Middleware/Oracle_Home/user_projects/domains/train_domain/"
wls:/offline&amp;gt; service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
wls:/offline&amp;gt; encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
print encryption.decrypt("{AES}CFbYgsg8ktBwkzi0llxCYrC3wLN6qDCaOJHfEyOL47w")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;PS : I had to remove a trailing “\” from the encrypted password in last&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For more detailed version: &lt;a href="https://devops.egyan.space/decrypt-weblogic-console-password-using-wlst/" rel="noopener noreferrer"&gt;Link&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Azure Free Certification Exam Sep 22-24 2020</title>
      <dc:creator>Anuj Singh Tomar</dc:creator>
      <pubDate>Thu, 24 Sep 2020 10:11:08 +0000</pubDate>
      <link>https://dev.to/atomar/azure-free-certification-exam-sep-22-24-2020-31e4</link>
      <guid>https://dev.to/atomar/azure-free-certification-exam-sep-22-24-2020-31e4</guid>
      <description>&lt;p&gt;Microsoft’s Ignite is live from 22nd-24th Sept 2020, Microsoft is giving a free certificate too for all participants who complete the challenge, Details below&lt;/p&gt;

&lt;p&gt;Register for ignite Event on below link first:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://myignite.microsoft.com/" rel="noopener noreferrer"&gt;https://myignite.microsoft.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After this sign up for the any of the interesting challenge using below URL: &lt;a href="https://csc.docs.microsoft.com/ignite/registration" rel="noopener noreferrer"&gt;https://csc.docs.microsoft.com/ignite/registration&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After this you will be able to see that under challenges section&lt;/p&gt;

&lt;p&gt;Docs URL:&lt;a href="https://docs.microsoft.com/en-us/users/" rel="noopener noreferrer"&gt;https://docs.microsoft.com/en-us/users/&lt;/a&gt;/challenges&lt;/p&gt;

&lt;p&gt;After completing your first challenge you will earn a free certification exam, you will be getting an e-mail around Oct 15 with more details on how to redeem that to schedule the certification exam.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Let’s Encrypt SSL certificate in Namecheap AutoRenewal – Verified &amp; working – Using ACME.sh</title>
      <dc:creator>Anuj Singh Tomar</dc:creator>
      <pubDate>Fri, 18 Sep 2020 08:22:41 +0000</pubDate>
      <link>https://dev.to/atomar/let-s-encrypt-ssl-certificate-in-namecheap-autorenewal-verified-working-using-acme-sh-4m7i</link>
      <guid>https://dev.to/atomar/let-s-encrypt-ssl-certificate-in-namecheap-autorenewal-verified-working-using-acme-sh-4m7i</guid>
      <description>&lt;p&gt;NameCheap doesn't support Let's Encrypt natively, But provides option so you can setup LetEncrypt SSL certificates using different utilities like getSSL or ACME.sh, having used both found acme.sh to be quite better and simple to use + it supports auto renewal too.&lt;/p&gt;

&lt;p&gt;1 - Enable SSH to get into your shared hosting server with your cpanel username.(You can get keys &amp;amp; login from your terminal or use inbuilt capnel terminal for quick access)&lt;/p&gt;

&lt;p&gt;2 - Get the certs&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#Get acme.sh utility
curl https://get.acme.sh | sh

#Source the Environment variables
source ~/.bashrc

#Register your email with Lets's Encrypt to be notified any renewals issue
acme.sh --register-account --accountemail email@example.com

# At this moment a cron entry already has been setup for autorenewal which will auto renew after 60 days., You can update /dev/null to something like this if you need the log
crontab -l | grep acme.sh
10 0 * * * "/home/_CPANEL_USERNAME_/.acme.sh"/acme.sh --cron --home "/home/_CPANEL_USERNAME_/.acme.sh" &amp;gt;&amp;gt; /home/_CPANEL_USERNAME_/.acme_cron_log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;4 – Issue a test cert to check if all working&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#webroot will be any directory in which your domain exist, give path accordingly.
acme.sh --issue --webroot ~/public_html -d yourdomain.com --staging
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;5 – issue an actual Certificate&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;acme.sh --issue --webroot ~/public_html -d yourdomain.com --force

#In ourput you will see success if all goes fine &amp;amp; key/Certs/chaincerts/csr will be stored under below location, you can refer those if you intend to apply those using cpanel GUI manually

~/.acme.sh/yourdomain.com/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;6 - Apply Cert to website using cPnel hook&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;acme.sh --deploy --deploy-hook cpanel_uapi --domain yourdomain.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;7 – You should be able to see your domain with SSL in cpanel under SSL/TLS -&amp;gt; Manage all certs&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2uucnmg7l6pgr69km333.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2uucnmg7l6pgr69km333.png" alt="Alt Text" width="626" height="227"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8 - Force HTTP-HTTPS redirection&lt;br&gt;
If you see option to enable you can enforce HTTP from cpanel itself:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cPanel-&amp;gt;Domains

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fqvatl9pf8gtjonf7jtrd.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fqvatl9pf8gtjonf7jtrd.PNG" alt="Alt Text" width="800" height="68"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In case it is greyed out, which could be in case you have multiple domains like &lt;a href="http://www.yourdomain.com" rel="noopener noreferrer"&gt;www.yourdomain.com&lt;/a&gt; for which you don’t have the cert , Enable the redirection from “redirects” or simply add below lines in .htaccess file&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#always backup as a thumb of rule
vi ~/public_html/.htaccess 

Or

vi ./yourdomain.com/.htaccess 

&amp;lt;IfModule mod_rewrite.c&amp;gt;
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
&amp;lt;/IfModule&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;9 – test your website in new window with URL: &lt;a href="https://yourdomain.com" rel="noopener noreferrer"&gt;https://yourdomain.com&lt;/a&gt; or &lt;a href="http://yourdomain.com(" rel="noopener noreferrer"&gt;http://yourdomain.com(&lt;/a&gt; in http it should redirect automatically to https)&lt;/p&gt;

&lt;p&gt;So you are all done now, If you need a more detailed Article you can checkout the original article on below link: &lt;br&gt;
&lt;a href="https://devops.egyan.space/applying-lets-encrypt-ssl-certificate-in-namecheap-in-2020-with-autorenewal-verified-working-using-acme-sh/" rel="noopener noreferrer"&gt;devops.egyan.space&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Glad if this helped you, You can &lt;a href="https://www.buymeacoffee.com/AnujTomar" rel="noopener noreferrer"&gt;now buy me a coffee&lt;/a&gt; if this was helpful: &lt;/p&gt;

</description>
      <category>ssl</category>
      <category>namecheap</category>
      <category>acme</category>
      <category>letsencrypt</category>
    </item>
  </channel>
</rss>
