We post new blogs every month. If you would like to learn more about a specific topic please contact us and let us know!

Latest Blogs


Share this


513-766-9111


312 Walnut St #1600, Cincinnati, OH 45202


contact@datadesignsystems.com


 

Blog

how to install ssl cert on ec2

how to install ssl cert on ec2

When I began working with AWS and EC2 I learned how to install ssl cert on ec2 . I also learned it is not as simple as using cPanel or WHM. Below I have listed out a few steps that you can follow that should help with the installation of an SSL cert….This tutorial will assume you are working with an EC2 instance running AWS linux.

To begin the process of installing an SSL cert or generating a CSR you must first make sure that mod_ssl is installed….Depending on which version of PHP you are using will depending on which version of mod_ssl you will install. See below for PHP7 and lower…Also remember we are assuming you are working with an AWS Linux EC2 instance.

PHP7
[cc lang=”html” width=”100%”]yum install mod24_ssl[/cc]

PHP < 7
[cc lang=”html” width=”100%”]yum install mod_ssl[/cc]

First you must generate the CSR..To do so follow the commands below. You will be asked a series of questions. Make sure to answer them accordingly. Once you are done answering the questions the CSR creation will be complete.

[cc lang=”html” width=”100%”]openssl genrsa 2048 > private-key.pem
openssl req -new -key private-key.pem -out csr.pem[/cc]

Next we need to view, copy, and paste the CSR into the SSL vendors input. To do so simply type the following command to see if the file exists.

[cc lang=”html” width=”100%”]ls -l[/cc]
[cc lang=”html” width=”100%”]sudo vi csr.pem[/cc]

Now paste the CSR into the input of the SSL provider.  Once the SSL provider issues the cert you will need to download the cert for Apache (assuming you are using Amazon Linux). The next step is to add the cert and bundle cert to your server. To do this use the follow code below. Replace the “xxxxxxxxxxxxxxxxxx.crt” with the cert file name and then paste the cert content in and save. Then do the same with the “bundle.crt” and make sure to change the name.

[cc lang=”html” width=”100%”]sudo vi xxxxxxxxxxxxxxxxxx.crt
sudo vi  bundle.crt[/cc]

Once the SSL provider issues the cert you will need to download the cert for Apache (assuming you are using Amazon Linux). The next steps involve us moving the SSL cert to a location on the server that we will be able to find easily. I typically move my certs to  the /etc/httpd/conf  folder…Use the following commands to do this.. Make sure to replace “xxxxxxxxxxxxxxxxxx.crt” , “bundle.crt”, and “private-key.pem” to use the name of the files on your server.

[cc lang=”html” width=”100%”]sudo cp private-key.pem /etc/httpd/conf/private-key.pem
sudo xxxxxxxxxxxxxxxxxx.crt /etc/httpd/conf/xxxxxxxxxxxxxxxxxx.crt
sudo cp bundle.crt /etc/httpd/conf/bundle.crt[/cc]

Next we need to edit the ssl.conf file located at “etc/httpd/conf.d/ssl.conf” to open this file use the code below.

[cc lang=”html” width=”100%”]sudo vi /etc/httpd/conf.d/ssl.conf[/cc]

Install SSL Cert on EC2 Instance

Install SSL Cert on EC2 Instance

At the very top of the file below any of the code use the following snippet and add your domain. Make sure to fill in the “xxxxxxxx” information with your servers…

ServerName xxxxxxxxx.com   (you can comment this out if you do not have it)
ServerAlias xxx.xxxxxxxxxx.com    (the domain or sub domain for the website….www.xxxxx.com or sub.xxxxx.com or xxxxxxx.com)
Redirect / https://xxx.xxxxxxxxxx.com/     (This is redirecting all traffic from http to https…make sure you add your domain where the xxxxxx are)         

[cc lang=”html” width=”100%”]
<VirtualHost *:80>
#DocumentRoot “/www/var/html”
ServerName xxxxxxxxx.com
ServerAlias xxx.xxxxxxxxxx.com
Redirect / https://xxx.xxxxxxxxxx.com/
# Other directives here
</VirtualHost>

[/cc]

Next we need to add the correct cipher…You will see in the snippet below I have commented out two items and added 1..Please do the exact same.

[cc lang=”html” width=”100%”]
#SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
#SSLProxyCipherSuite HIGH:MEDIUM:!aNULL:!MD5

SSLCipherSuite ALL:!aNULL:RC4+RSA:+HIGH:+MEDIUM:+LOW:+EXP:+eNULL

[/cc]

Lastly we need to update the key file locations….Make sure you find the following and comment them out first..They add the correct ones back in using the snippet below..

  • #SSLCertificateFile
  • #SSLCertificateKeyFile
  • #SSLCertificateChainFile

[cc lang=”html” width=”100%”]
SSLCertificateFile /etc/httpd/conf/xxxxxxxx.crt
SSLCertificateKeyFile /etc/httpd/conf/private-key.pem
SSLCertificateChainFile /etc/httpd/conf/bundle.crt
[/cc]

Finally you  can save and quit the ssl.conf configuration. Once this is complete the SSL cert is installed..Last thing you need to do is restart apache by following the snippet below. You should get ok,ok…If you do not get 2 OK’s then something in the configuration is wrong…

Once I confirm I have 2 OK’s I navigate to https://www.sslshopper.com/ssl-checker.html and enter my url to confirm the SSL is setup correctly.

[cc lang=”html” width=”100%”]
sudo service httpd restart
[/cc]

Once you understand how to setup and SSL cert the process seems to flow much quicker.  If you need help setting up an SSL cert on your EC2 instance feel free to email or call us.

Comments:

  • Diego

    Hello my family member! I want to say that this
    post is awesome, great written and include approximately
    all vital infos. I would like to look more posts like this .

    Visit my blog; บาคาร่า

    December 28, 2020 at 12:58 am
  • vardenafil

    vardenafil

    December 29, 2020 at 9:30 am
  • tens 7000 erectile dysfunction

    erectile dysfunction doctors
    for erectile dysfunction ptx

    December 29, 2020 at 11:37 am
  • cialis captions

    cialis captions

    December 29, 2020 at 8:46 pm
  • where to buy cialis online forum

    where to buy cialis online forum https://tadalafili.com/

    December 29, 2020 at 11:25 pm
  • viagra nude beach

    viagra nude beach

    December 31, 2020 at 7:11 am
  • Bernadette

    I was excited to uncover this great site.
    I wanted to thank you for ones time just for this wonderful read!!
    I definitely liked every part of it and I have you book marked to
    look at new stuff in your web site.

    Also visit my blog – slimdownin21days.com

    December 31, 2020 at 6:29 pm
  • Antony

    What’s up i am kavin, its my first occasion to commenting anywhere, when i read this piece of writing i thought
    i could also create comment due to this sensible article.

    Also visit my website … enst-times.com

    December 31, 2020 at 7:36 pm
  • Janessa

    I think this is one of the so much important info for me.

    And i am glad studying your article. However wanna observation on few basic issues, The website
    style is wonderful, the articles is in reality nice :
    D. Excellent process, cheers

    My web site: atozj.com

    December 31, 2020 at 7:57 pm
  • Nannie

    Having read this I thought it was really informative.
    I appreciate you finding the time and effort
    to put this informative article together. I once again find myself
    spending a significant amount of time both reading and posting comments.
    But so what, it was still worthwhile!

    My web page :: patel746.oorthat.com/2020/12/29/%ed%98%9c%ed%83%9d-sports/

    January 1, 2021 at 8:36 am
  • Felipa

    Hello i am kavin, its my first time to commenting anyplace, when i read this piece of writing i thought i could also create comment due to this
    good paragraph.

    Also visit my page :: allen172.accountingfredericton.com/the-good-the-bad-and-sports/

    January 1, 2021 at 4:08 pm
  • viagra commercial actress

    viagra commercial actress

    January 1, 2021 at 5:18 pm
  • Wilson

    Nice post. I learn something totally new and challenging on sites I stumbleupon everyday.
    It will always be helpful to read through content from other
    authors and use something from their web sites.

    Also visit my web page … wood240.anwer-ofc.com/nba-fantasy-rankings-2021-espn.html

    January 1, 2021 at 6:37 pm
  • Esteban

    Hi my loved one! I want to say that this article is awesome, great written and include almost all
    significant infos. I would like to peer extra posts like this .

    Feel free to surf to my page – patel738.koralive7.com/p/1

    January 2, 2021 at 12:08 am
  • Phillipp

    Ridiculous story there. What occurred after?
    Thanks!

    My site :: taylor580.sainiblogs.com/archives/1

    January 2, 2021 at 1:35 am
  • Michell

    Woah! I’m really loving the template/theme of this site.

    It’s simple, yet effective. A lot of times it’s hard
    to get that “perfect balance” between superb
    usability and visual appearance. I must say you have done a very good job
    with this. Also, the blog loads very fast for me on Internet explorer.
    Excellent Blog!

    Visit my homepage; yevor.com

    January 2, 2021 at 11:57 pm
  • ivermectin for heartworms

    ivermectin for heartworms http://ivermmectin.co/

    January 3, 2021 at 12:35 am
  • cialis how long towork

    cialis how long towork

    January 3, 2021 at 10:25 am
  • Alba

    Great blog! Do you have any suggestions for aspiring writers?
    I’m planning to start my own site soon but I’m a little lost on everything.

    Would you propose starting with a free platform like WordPress or go for a paid option? There are so many options out there
    that I’m totally overwhelmed .. Any ideas? Bless you!

    Take a look at my blog post :: adikya.com

    January 3, 2021 at 7:14 pm
  • Michale

    It’s a pity you don’t have a donate button! I’d
    most certainly donate to this fantastic blog! I guess for now i’ll settle
    for book-marking and adding your RSS feed to my Google account.
    I look forward to new updates and will share this site with
    my Facebook group. Talk soon!

    My site virtualvideoproducer.com

    January 3, 2021 at 7:47 pm
  • Bridget

    Your style is so unique in comparison to other
    folks I have read stuff from. I appreciate you for posting when you’ve got the opportunity, Guess I will just book mark this web site.

    Here is my website: siirtkurtalanekspres.com

    January 3, 2021 at 9:35 pm
  • Margene

    This page certainly has all of the information I wanted about this subject
    and didn’t know who to ask.

    Review my web-site – hill988.tileandgroutmasters.com/1.html

    January 4, 2021 at 12:52 am
  • Antony

    These are actually great ideas in on the topic of blogging.
    You have touched some fastidious points here. Any way keep up wrinting.

    Feel free to surf to my web-site abstractviet.com

    January 4, 2021 at 7:16 pm
  • Lynn

    Pretty! This has been an extremely wonderful post. Thank you for providing these details.

    my web page: titilay.com

    January 4, 2021 at 7:47 pm
  • Allen

    I have read so many posts about the blogger lovers except this piece of writing is truly
    a fastidious post, keep it up.

    my web-site :: wbmedz.com

    January 4, 2021 at 7:52 pm
  • passive atmospheric water generator

    This is really interesting, You’re a very skilled blogger. I’ve joined your rss feed and look forward to seeking more of your excellent post. Also, I’ve shared your website in my social networks!|
    passive atmospheric water generator http://www.modernipanelak.cz/?b=618282165&redirect=https://architizer.com%2Ffirms%2Fatmospheric-water-generator%2F/

    January 5, 2021 at 8:18 pm
  • can you buy hydroxychloroquine over the counter

    can you buy hydroxychloroquine over the counter https://hydroxychloroquine.mymvrc.org/

    January 5, 2021 at 10:37 pm
  • Lane

    I was wondering if you ever considered changing the layout of your blog?
    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people
    could connect with it better. Youve got an awful lot of text for only having 1 or two images.
    Maybe you could space it out better?

    my blog post – e-angela.com

    January 6, 2021 at 1:25 pm
  • Tyson

    It’s very effortless to find out any matter on web as compared
    to books, as I found this post at this site.

    Check out my web page :: amarcleaningservices.com

    January 7, 2021 at 4:28 am
  • will ivermectin kill corona

    will ivermectin kill corona https://ivermectin1st.com/

    January 9, 2021 at 11:40 am
  • Charity

    Howdy are using WordPress for your blog platform? I’m new to the blog world but
    I’m trying to get started and set up my own. Do you need
    any html coding expertise to make your own blog? Any help would be greatly appreciated!

    Here is my web site … imenazarpa.com

    January 10, 2021 at 12:50 am
  • Gail

    I am in fact happy to glance at this webpage posts which includes
    plenty of helpful data, thanks for providing such statistics.

    Have a look at my website jackson493.dreebangladesh.com/1.html

    January 10, 2021 at 1:15 am
  • Esperanza

    What’s up to all, how is all, I think every one is getting
    more from this website, and your views are pleasant for new
    users.

    My web-site … link (Garnet)

    January 10, 2021 at 5:17 am
  • Porter

    Post writing is also a fun, if you be acquainted with after that you can write or else
    it is complicated to write.

    My web blog; exin certification; Rosalina,

    January 10, 2021 at 5:20 am
  • costco generic viagra cost

    costco generic viagra cost

    January 10, 2021 at 6:14 am
  • Jaymie Rockafellow

    I have a hosted WordPress blog. For some reason, my blog posts are being sent out to followers of another blog. The other blog owners uses Blogger. We can figure out why or how this is happening?.

    https://twitter.com/straininfoonli1

    January 10, 2021 at 10:23 am
  • Maik

    Hi, I do believe this is an excellent web site. I stumbledupon it 😉 I will revisit yet again since I book marked it.

    Money and freedom is the best way to change, may you be rich and
    continue to help others.

    Feel free to surf to my blog :: narenderbabu.com

    January 10, 2021 at 10:31 pm
  • where can you buy cialis cheap

    where can you buy cialis cheap

    January 10, 2021 at 11:06 pm
  • Ilse

    Hi! This is my first visit to your blog! We are a team of
    volunteers and starting a new initiative in a community in the
    same niche. Your blog provided us beneficial information to work on. You
    have done a extraordinary job!

    Also visit my web blog … walker153.aspirasipekanbaru.com/1.html

    January 11, 2021 at 1:20 am
  • viagra how to use effectively

    viagra how to use effectively

    January 11, 2021 at 6:05 pm
  • Here are some of the web sites we advocate for our visitors. Gabey Ruddy Sverre

    January 12, 2021 at 4:58 pm
  • Very good article! We are linking to this particularly great content on our website. Keep up the good writing. Darb Desi Pattison

    January 12, 2021 at 9:47 pm
  • My brother recommended I might like this web site. He was totally right. Mindy Anson Kho

    January 13, 2021 at 2:57 pm
  • Marjorie

    Yes! Finally someone writes about link.

    January 13, 2021 at 3:02 pm
  • Post writing is also a fun, if you be familiar with after that you can write or else it is difficult to write. Dorry Reube Graner

    January 14, 2021 at 1:33 am
  • superbeets

    I blog quite often and I really thank you for your information. The article has really peaked my interest. I will bookmark your site and keep checking for new details about once per week. I opted in for your Feed too.|
    superbeets http://centroarts.com/go.php?http://gitlab.asap.um.maine.edu/superbeets13

    January 15, 2021 at 12:06 pm
  • Hosea

    Magnificent beat ! I would like to apprentice even as you amend your web site, how can i subscribe for
    a blog site? The account aided me a applicable deal. I had
    been tiny bit acquainted of this your broadcast offered vibrant transparent
    concept

    My homepage link (Alfonso)

    January 15, 2021 at 6:24 pm
  • Penney

    I savor, result in I found exactly what I was taking a
    look for. You have ended my four day lengthy hunt! God Bless you man.
    Have a great day. Bye

    my web blog – link (Danielle)

    January 16, 2021 at 12:41 pm
  • Hello there! I just wish to give you a huge thumbs up for your great info you have here on this post. I am returning to your blog for more soon. Amata Cam Ramah

    January 16, 2021 at 11:47 pm
  • I just like the helpful info you provide on your articles. Fanni Barret Dasha

    January 17, 2021 at 7:42 pm
  • Looking forward to reading more. Great article. Really looking forward to read more. Much obliged. Dodie Aldon Linis

    January 17, 2021 at 11:40 pm
  • Way cool! Some very valid points! I appreciate you penning this write-up and the rest of the site is really good. Leila Garreth Dalt

    January 18, 2021 at 5:34 pm
  • Shad

    wonderful points altogether, you just won a brand
    new reader. What may you suggest about your post that you made a few days in the past?
    Any sure?

    Look at my web blog – link

    January 18, 2021 at 5:59 pm
  • Mariano

    What’s up, yup this paragraph is genuinely fastidious and I have
    learned lot of things from it concerning blogging.
    thanks.

    Feel free to visit my page – link (Phoebe)

    January 18, 2021 at 10:37 pm
  • Good answer back in return of this issue with real arguments and describing everything concerning that. Trish Murry Lodovico

    January 19, 2021 at 8:51 am
  • 2.5 mg cialis generic daily

    2.5 mg cialis generic daily https://tadalafil.cleckleyfloors.com/

    January 19, 2021 at 8:38 pm
  • Val Bockoven

    Empresa del sector alimentos requiere URGENTE Señora para el area servicios generales (aseo) a nivel industrial con experiencia en aseo de plantas de produccion y oficinas con empresas especializadas en proveer servicios de aseo, disponibilidad inmediata. Empresa del sector plastico requiere Tecnico y/ tecnologo en Plasticos con experiencia en procesos industriales ( Soplado /Inyeccion) mínima de 1 año. Personal femenino Técnicos tecnólogos en el area de la confeccion con experiencia en el sector textil y en manejo de personal para trabajar de lunes a viernes de 7 am a 5 pm. Salario .000 mas prestaciones de ley. Horario: Lunes a Viernes 7:30 a.m – 5:30 p.m con disponibilidad para trabajar los días sábados cuando se requiera.

    http://magicznyslub.pl/member.php?action=profile&uid=492300

    January 20, 2021 at 1:53 am
  • Olive

    I’m not sure exactly why but this site is loading extremely slow for me.
    Is anyone else having this problem or is it a problem on my end?

    I’ll check back later and see if the problem still exists.

    my web blog; link – Jade,

    January 20, 2021 at 2:31 am
  • You are my inspiration , I possess few blogs and occasionally run out from to post . Kittie Quint Janela

    January 21, 2021 at 1:06 pm
  • I blog quite often and I genuinely appreciate your content. Juditha Phillip Mansur

    January 21, 2021 at 1:50 pm
  • Alta

    Valuable information. Fortunate me I discovered your website unintentionally, and
    I am shocked why this accident didn’t took place earlier!
    I bookmarked it.

    Here is my blog; link, Raymond,

    January 21, 2021 at 3:15 pm
  • elementor for beginners

    I feel this is among the most vital information for me. And i’m satisfied studying your article. However should commentary on some common issues, The site taste is wonderful, the articles is in point of fact great : D. Just right process, cheers

    https://www.youtube.com/watch?v=tm_FEaULxf8

    January 21, 2021 at 5:29 pm
  • astra theme pro

    hello!,I really like your writing very so much! proportion we communicate extra about your article on AOL? I require an expert in this area to unravel my problem. May be that’s you! Having a look ahead to peer you.

    https://www.youtube.com/watch?v=zFfqK4-tynU

    January 21, 2021 at 7:08 pm
  • elementor page builder

    Some truly excellent blog posts on this web site, appreciate it for contribution.

    https://www.youtube.com/watch?v=3s7eaFj6XxE

    January 21, 2021 at 8:41 pm
  • create a website

    Thank you, I’ve just been searching for info about this subject for a long time and yours is the best I’ve found out till now. However, what concerning the conclusion? Are you certain in regards to the supply?

    https://www.youtube.com/watch?v=1fjWgYz9egs

    January 21, 2021 at 10:01 pm
  • wordpress speed optimization

    I regard something genuinely interesting about your web site so I bookmarked.

    https://www.youtube.com/watch?v=vIeo40k99nY

    January 21, 2021 at 11:08 pm
  • wordpress speed optimization

    Hi! Quick question that’s totally off topic. Do you know how to make your site mobile friendly? My weblog looks weird when viewing from my iphone4. I’m trying to find a template or plugin that might be able to resolve this issue. If you have any suggestions, please share. Thanks!

    https://www.youtube.com/watch?v=vIeo40k99nY

    January 22, 2021 at 3:28 am
  • buy cialis tadalafil tablets

    USA delivery

    January 24, 2021 at 12:35 am
  • Latesha

    We’re a group of volunteers and opening a brand new scheme in our community.

    Your website offered us with valuable information to work on.
    You’ve done a formidable job and our entire group will be thankful to you.

    my web page :: link, Floy,

    January 24, 2021 at 7:21 am
  • online doctor consultation with prescriptions

    online doctor consultation with prescriptions https://edmeds.buszcentrum.com/

    January 24, 2021 at 8:11 am
  • online doctor consultation with prescriptions

    online doctor consultation with prescriptions https://buymeds.mlsmalta.com/

    January 24, 2021 at 8:11 am
  • best research tadalafil

    best research tadalafil https://cialis.cleckleyfloors.com/

    January 24, 2021 at 12:28 pm
  • best research tadalafil

    best research tadalafil https://cialis.advantagetriseal.com/

    January 24, 2021 at 12:28 pm
  • Boyd Bech

    Una carta a Zapatero a ver si le compra una flota de Seats para sus asesores será más fructuoso que sugerir en una página de Citroen C que compren un Exeo. Y hay un aspecto importante que no he leido en otros comentarios: el trato personal que dispensan en los talleres de la red Citroën no tiene parangón: cuando hay revisiones me llevan y me traen a buscar el coche, las revisiones las hacen en el dia, etc. No puedo estar más satisfecho de los concesionarios, al menos de los que he visitado.

    http://mediawiki.hslsoft.com/index.php?title=_Software_Erp_De_GestiN_Y_FacturaciN_Online_Para_Empresas_Y_AutNomos

    January 24, 2021 at 12:33 pm
  • tinder site

    tindr , tider https://tinderdatingsiteus.com/

    January 24, 2021 at 2:46 pm
  • conversion from aurogra to tadalafil

    conversion from aurogra to tadalafil https://aurogra.buszcentrum.com/

    January 24, 2021 at 2:53 pm
  • Sybil

    Hey there would you mind sharing which blog platform you’re working with?
    I’m looking to start my own blog in the near future but
    I’m having a hard time choosing between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design seems different then most blogs and
    I’m looking for something unique. P.S My apologies for
    getting off-topic but I had to ask!

    Here is my website – link

    January 25, 2021 at 5:52 pm
  • prices for cialis

    prices for cialis http://tadalafila.online/

    January 26, 2021 at 10:32 am
  • Andrew

    Hi there, I enjoy reading all of your article post.
    I like to write a little comment to support you.

    Here is my webpage … link (Joesph)

    January 26, 2021 at 9:03 pm
  • cialis price

    cialis price http://ciaalis2u.com/

    January 27, 2021 at 10:09 am
  • frolep rotrem

    You actually make it seem really easy along with your presentation however I to find this topic to be actually something which I believe I would by no means understand. It seems too complex and very wide for me. I’m looking forward to your subsequent put up, I¦ll attempt to get the grasp of it!

    http://www.froleprotrem.com/

    January 27, 2021 at 3:04 pm

Leave a reply