[warn] RSA server certificate CommonName (CN) `ドメイン名’ does NOT match server name!? が出たら…

Webサーバー(Apache)のエラーログを見ていると、サーバー再起動やApacheリスタートの際などに、SSL周りのエラーが発生しているのを発見。

[Tue Nov 17 12:51:29 2015] [warn] RSA server certificate CommonName (CN) `example.com’ does NOT match server name!?

RSA暗号化サーバーのコモンネーム証明書がサーバーネームと違いますよ!?

と。おや、そうでしたか。
https://www.weblogy.co.jp/ への接続は問題なくできているし、ブラウザ上ではSSL証明書エラーも出ないんですけど、それはApacheの方で「どうやら違ってるけど証明書と鍵は合ってるからうまいこと融通きかせときまひょ」という感じのようです。
エラーログに記されているメッセージは、つまり「ホンマはあかんねんで?」ということですね。

まあ、毎回こんなエラーが発生しているのはよろしくないので、解消しましょう。

/etc/httpd/conf.d/ssl.confの記述を見てみると…

/etc/httpd/conf.d/ssl.conf

NameVirtualHost *:443

<VirtualHost *:443>
        ServerAdmin webmaster@dummy-host.example.com
        DocumentRoot /home/www/html/
        ServerName example.com
        ServerAlias www.example.com
SSLEngine on
(中略)
</VirtualHost>

となっていました。

この記述で、ApacheとしてはServerNameとServerAliasとどちらも同じDocumentRootで処理することができるので、httpの場合ならこれでもいいんですけど、httpsの場合はコモンネーム(CN)がサーバーネームと一致しているひつようがあるのでまずいんですね。

NameVirtualHost *:443

<VirtualHost *:443>
        ServerAdmin webmaster@dummy-host.example.com
        DocumentRoot /home/www/html/
        ServerName www.example.com
        ServerAlias example.com
SSLEngine on
(中略)
</VirtualHost>

wwwありをサーバーネームに、なしをエイリアスにしてApache再起動。

[root@www5254ue logs]# service httpd restart

エラーが出なくなり、解決です。

26 thoughts on “[warn] RSA server certificate CommonName (CN) `ドメイン名’ does NOT match server name!? が出たら…

  1. RobertMuh

    私は賞品を配布するダークネット上のウェブサイトを見つけました。 私はそれを信じていなかったが、私は冗談のためにそれをチェックアウトしました。 そして今日、彼らは私にiPhone13を送った!o_0これはあなたに起こったのですか?!)

    返信
  2. Natashiikltic

    こんにちは! このサイトの言語を切り替えることはできますか?
    How do I switch the language?

    返信
  3. JuliaCit

    こんにちは、私の名前はジュリア-クシュナッディノバんからウクライナの市Kharkov. 私達には戒厳令があり、時には近くで爆発があります。 私は非常に怖がって、空腹です。
    あなた自身のための十分なお金があれば私を助けてください。
    私は自分自身のために、私たちの勇敢な軍隊のために食べ物にこのお金を費やすことになります。
    ウクライナへの栄光!

    BTC bc1qdej4vazt8rnhurlswxcgq9q083zwcduzvp6gar
    ETH 0x99a5B06A3CFCfE34A28538651779602416440aDE
    BNB bnb15rf0ju302zh5sg59m9kg3pzlp6q5ucvczrxsda
    LTC ltc1q2x6lyat9j3ajrp77xgt8y6dtelk0nhkyqury4q
    DOGE DK4eDbnH5HViaCbN2bZqTiv8EyW2FZZe1a

    返信
  4. AlexisBrums

    We see this in literature all the time.
    It reminds us to take precautionary measures, so we don’t end up with bad results.
    He played the villain in the movie that famously stated.
    Yup, you guessed it.
    Sometimes, though.
    But these days.
    And then.
    Curiosity killed the cat.
    Now that we’ve covered the aphorism definition, are you ready for more examples.
    Another success aphorism comes from Chris Grosser.
    Opportunities don’t happen.
    Napoleon Bonaparte could relate.
    Shifting gears a little, let’s talk about one of the world’s greatest aphorists – Benjamin Franklin.
    Why is this stuff important.
    For example.
    Now here’s the big question.

    返信
  5. AlexisBrums

    It’s a great saying, but it’s not something you’d necessarily repeat over the dinner table.
    Don’t count on things that haven’t happened yet because something unexpected could occur.
    See for yourself.
    We’ve all probably had to learn that the hard way.
    The origins of this saying are open for debate, but it’s primarily attributed to Abraham Lincoln.
    But these days.
    Not only that, but you can use aphorisms in your writing to summarize your central theme.
    They’re inspirational quotes.
    If you do, you agree with George Herbert’s famous aphorism from his book, Outlandish Proverbs.
    The meaning.
    What am I referring to.
    Like George Washington, Sandys believed that telling the truth is always the way to go.
    The origins of this saying are open for debate, but it’s primarily attributed to Abraham Lincoln.
    Aphorisms state universal truths about life that encourage reflection.
    So my advice.
    What is an Aphorism.

    返信
  6. AlexisBrums

    The early bird gets the worm.
    Examples of Aphorisms for Success
    George Washington is known for his wise sayings.
    Life is too short to surround yourself with toxic people.
    He’s earned that title because he’s authored dozens of aphorisms.
    (I say these words to make me glad),
    Aphoristic statements also appear in everyday life, such as daily speeches made by politicians and leaders.
    They’re written in countless books and passed down as folk wisdom.
    But, the aphorism is short and sweet.
    The meaning.
    What am I referring to.
    Yup, you guessed it.
    Yup, he was reminding Philadelphians that preventing fires is better than fighting them.
    ’Ah, all things come to those who wait,’
    And then.
    They’re in social media captions all over the web.

    返信
  7. AlexisBrums

    We see this in literature all the time.
    It originally read, Count not they chickens that unhatched be…
    The part in Star Wars where Yoda says, There is do, or do not.
    Sandys said, Honestie the best policie, which in modern English is…
    Shifting gears a little, let’s talk about one of the world’s greatest aphorists – Benjamin Franklin.
    Aphorisms state universal truths about life that encourage reflection.
    Aphorisms can act as a guideline to help narrow the focus of your work.
    But one key difference is that for a phrase to be truly aphoristic, it needs to be a short statement.
    See the difference.
    Don’t count on things that haven’t happened yet because something unexpected could occur.
    He played the villain in the movie that famously stated.
    Let me ask you.
    He’s earned that title because he’s authored dozens of aphorisms.
    Why is this stuff important.
    Give it a try!
    Now here’s the big question.

    返信
  8. AlexisBrums

    Guy standing at a bookshelf
    Another success aphorism comes from Chris Grosser.
    George Washington is known for his wise sayings.
    We’ve all probably had to learn that the hard way.
    Interestingly enough, this saying was initially intended as a compliment.
    Not so much.
    Aphoristic statements also appear in everyday life, such as daily speeches made by politicians and leaders.
    Today, I’ll define aphorism and show you how these handy little sayings make your writing more memorable.
    Brevity is the key.
    Better safe than sorry is a piece of wisdom from Samuel Lover’s book, Rory O’More.
    See for yourself.
    This also reminds me of a precept by Sir Edwin Sandys, a politician who helped establish Jamestown, Virginia.
    Other Common Examples of Aphorisms
    The Purpose & Function of Aphorism
    It’s time.
    Let’s get started.

    返信
  9. AlexisBrums

    Proverbs, on the other hand, can be much longer than aphorisms and adages.
    This quote originated from Thomas Howell in New Sonnets and Pretty Pamphlets.
    What am I referring to.
    Like George Washington, Sandys believed that telling the truth is always the way to go.
    Want a few more.
    It originated from Lady Mary Montgomerie Currie’s poem Tout vient a qui sait attendre.
    So my advice.
    What is an Aphorism.
    Brevity is the key.
    Don’t count on things that haven’t happened yet because something unexpected could occur.
    Examples of Aphorism in Film
    Sandys said, Honestie the best policie, which in modern English is…
    Interestingly enough, this saying was initially intended as a compliment.
    They’re easy to remember and pass down through generations because they’re concise.
    From there, you can build your story around it.
    Too many times to count, right.

    返信
  10. AlexisBrums

    But, the aphorism is short and sweet.
    It originally read, Count not they chickens that unhatched be…
    The idea is simple.
    Yup, you guessed it.
    Other Common Examples of Aphorisms
    Skilled writers use aphorisms to evoke big ideas in a relatable way.
    Your stories can benefit from this method too.
    How many times have you heard one of the following aphorism examples.
    Proverbs, on the other hand, can be much longer than aphorisms and adages.
    Nanakorobi yaoki.
    Examples of Aphorism in Politics
    He once stated, It is better to be alone than in bad company.
    The origins of this saying are open for debate, but it’s primarily attributed to Abraham Lincoln.
    They’re easy to remember and pass down through generations because they’re concise.
    Then use it as a guideline to stay focused on your general theme.
    Today, I’ll define aphorism and show you how these handy little sayings make your writing more memorable.

    返信
  11. AlexisBrums

    See the difference.
    Fall seven times, stand up eight.
    It’s become one of the most viral memes on the internet.
    Life is too short to surround yourself with toxic people.
    It’s easier to do it yourself rather than try to explain it to someone else.
    This quote came from Wales, first appearing in an 1866 publication.
    Your stories can benefit from this method too.
    Today, I’ll define aphorism and show you how these handy little sayings make your writing more memorable.
    But, the aphorism is short and sweet.
    The meaning.
    See for yourself.
    This also reminds me of a precept by Sir Edwin Sandys, a politician who helped establish Jamestown, Virginia.
    Finally, Actions speak louder than words is another classic example.
    Not good.
    For example.
    How many times have you heard one of the following aphorism examples.

    返信
  12. AlexisBrums

    Early to bed and early to rise makes a man healthy, wealthy, and wise.
    Don’t count on things that haven’t happened yet because something unexpected could occur.
    Examples of Aphorism in Film
    Sandys said, Honestie the best policie, which in modern English is…
    He’s earned that title because he’s authored dozens of aphorisms.
    The Purpose & Function of Aphorism
    For example.
    Curiosity killed the cat.
    If you do, you agree with George Herbert’s famous aphorism from his book, Outlandish Proverbs.
    Because let’s face it, perseverance is the key to success in life.
    He played the villain in the movie that famously stated.
    He once stated, It is better to be alone than in bad company.
    That’s not what you expected, was it.
    Finally, All things come to those who wait is a good aphorism we’re all familiar with.
    There must be a method to your madness.
    How many times have you heard one of the following aphorism examples.

    返信
  13. AlexisBrums

    Proverbs, on the other hand, can be much longer than aphorisms and adages.
    It reminds us to take precautionary measures, so we don’t end up with bad results.
    There is no try.
    This also reminds me of a precept by Sir Edwin Sandys, a politician who helped establish Jamestown, Virginia.
    People often use this quote when discussing health, but Franklin was talking about fire safety.
    Not good.
    For example.
    Aphorisms are so common that we hardly think twice about them.
    Early to bed and early to rise makes a man healthy, wealthy, and wise.
    Another aphorism that’s adapted is, Don’t count your chickens before they hatch.
    The idea is simple.
    Like George Washington, Sandys believed that telling the truth is always the way to go.
    Shifting gears a little, let’s talk about one of the world’s greatest aphorists – Benjamin Franklin.
    They’re easy to remember and pass down through generations because they’re concise.
    For example.
    Truthfully, there aren’t huge differences between the three.

    返信
  14. AlexisBrums

    Brevity is the key.
    Here’s a classic Japanese saying for you.
    You create them.
    Aphorism Examples in Everyday Speech
    The origins of this saying are open for debate, but it’s primarily attributed to Abraham Lincoln.
    Aphorisms state universal truths about life that encourage reflection.
    There must be a method to your madness.
    But one key difference is that for a phrase to be truly aphoristic, it needs to be a short statement.
    Take this proverb, for example.
    You get up and keep trying.
    Examples of Aphorism in Politics
    Aphorism Examples in Everyday Speech
    Yup, he was reminding Philadelphians that preventing fires is better than fighting them.
    Why is this stuff important.
    Then use it as a guideline to stay focused on your general theme.
    They’re written in countless books and passed down as folk wisdom.

    返信
  15. AlexisBrums

    Proverbs, on the other hand, can be much longer than aphorisms and adages.
    It originally read, Count not they chickens that unhatched be…
    George Washington is known for his wise sayings.
    Yup, you guessed it.
    Interestingly enough, this saying was initially intended as a compliment.
    The Purpose & Function of Aphorism
    Not only that, but you can use aphorisms in your writing to summarize your central theme.
    Don’t judge a book by its cover.
    Both sayings highlight the benefits of waking up early.
    Another aphorism that’s adapted is, Don’t count your chickens before they hatch.
    Another example comes from Spider-Man, where Uncle Ben turns to Peter Parker and says, With great power comes great responsibility.
    Aphorism Examples in Everyday Speech
    He once stated, If you want a thing done well, do it yourself.
    Not so much.
    You’re prepared to use these handy little sayings to make your prose more relatable.
    They’re in social media captions all over the web.

    返信
  16. AlexisBrums

    20 Aphorism Examples
    Fall seven times, stand up eight.
    Luke’s having a tough time, and he’s discouraged.
    This is especially true if the excuse is a lie.
    People often use this quote when discussing health, but Franklin was talking about fire safety.
    Skilled writers use aphorisms to evoke big ideas in a relatable way.
    It’s time.
    Are you in.
    If you do, you agree with George Herbert’s famous aphorism from his book, Outlandish Proverbs.
    Examples of Aphorisms for Success
    He played the villain in the movie that famously stated.
    This aphorism is short and sweet, but it teaches us a valuable truth.
    Yup, he was reminding Philadelphians that preventing fires is better than fighting them.
    Skilled writers use aphorisms to evoke big ideas in a relatable way.
    Their direct, witty approach is what makes these self-evident truths powerful.
    Practice what you preach.

    返信
  17. AlbertBaw

    winscp how to show hidden files heidisql imported data where slacker download link tightvnc kaspersky kis reviews em client email pop addon teamviewer comodo antivirus update download teamviewer quote fortinet cloud access security broker teamviewer old releases comodo ssl aws mysql workbench eer diagram landscapers zoom app for laptop download comodo ou avira 2012 free teamviewer for personal use

    how to setup filezilla on my remote computer [url=https://durg.cerelace.xyz/4×4-workbench-top/4022-cisco-asr-software-packaging.php]cisco asr software packaging[/url] citrix doors [url=https://jora.dllfileclub.com/anydesk-id-the-same-on-2-computers/3593-axelle-apvrille-fortinet.php]axelle apvrille fortinet[/url] splashtop your 6783 port [url=https://sharon4arts.com/free-download-facebook-photo-zoom-firefox/2641-download-zoom-instructions.php]download zoom instructions[/url] reliability workbench isograph [url=https://marn.copljo.info/em-client-download-images/4544-fortinet-fortigate-61e-vpn-client.php]fortinet fortigate 61e vpn client[/url] em client address book [url=https://nann.dllfileclub.com/splashtop-streamer-second-display-not-connected/278-dbeaver-driver-repository-not-finding-jar.php]dbeaver driver repository not finding jar[/url]

    cyberduck ssh terminal 1997 ford thunderbird window regulator ssh via usb winscp zoom download for iphone cisco software wiki fortinet 100 b datasheet cisco nac software teamviewer time limit ultravnc server shortcuts voice over ip for cisco as5300 software configuration guide

    manageengine login popup [url=https://sage.ananara.xyz/69-thunderbird-for-sale/4170-thunderbird-sportfishing-fish-count.php]thunderbird sportfishing fish count[/url] what are the holes in a workbench for [url=https://taut.crazymikesguitar.com/thunderbird-archiver/254-thunderbird-aviation-crystal.php]thunderbird aviation crystal[/url] 21st century workbench [url=https://barg.h4yun.xyz/iphone-password-winscp/4282-splashtop-x-display-resolution-ratio.php]splashtop x display resolution ratio[/url] using parameters batch file script winscp [url=https://zara.triambaka.xyz/filezilla-coupon/2538-thunderbird-costumes.php]thunderbird costumes[/url] comodo rsa nbsb [url=https://kile.perinn.xyz/splashtop-personal-streamer-download/910-splashtop-local-mode-pc.php]splashtop local mode pc[/url]

    tightvnc logging verbosity level onetouch zoom pro software download manageengine desktop central 9 exploit 12 foot workbench vnc server in windows 7

    返信
  18. cbd capsules

    I can say with leading self-confidence that these are gigantic quest of travelers because they are great for relieving make a point of during flights. Of run I suitor these tried and upright hemp cornbread brand name gummies the most because they really hand out the complete entourage effect. Turn it and chaste fortuity to you!

    返信
  19. full spectrum cbd oil

    I suffer from lasting migraines and arrange tried numerous medications with midget success. A cocker recommended CBD, so I clear to communicate it a try. I was amazed at how very soon it helped to alleviate my migraine wretchedness and nausea. I now drink CBD grease regularly as a preventative stamp, and have noticed a valuable de-escalate in the frequency and beastliness of my migraines. I hugely guide CBD for the sake anyone looking as a talent another to habitual migraine medications.

    返信
  20. okna_vnMi

    Пластиковые окна для Вашего дома по выгодной цене
    заказать пластиковые окна rehau [url=https://plastokoshko.ru/]https://plastokoshko.ru/[/url].

    返信
  21. write essay for me

    Pretty component to content. I simply stumbled upon your blog and in accession capital to claim that I acquire actually enjoyed account your weblog posts. Any way I’ll be subscribing to your augment and even I achievement you get entry to consistently quickly.

    返信
  22. Frankmoist

    Producing small patios in mountainous locations demands a detailed approach to space utilization, considering the unusual challenges offered by the mountainous terrain. The procedure features various tactics, varying from the picking of compact home furniture to the integration of multi-functional elements, all targeted at enhancing the capability of constrained areas. Engaging in conversations that discuss detailed design plans, imaginative storage options, and discussing success anecdotes turns into a spring of creative inspiration for forum members seeking to optimize their small deck spaces amidst the characteristic landscapes of highland spaces.

    Choosing space-efficient furniture stands as a key aspect of designing tiny decks, permitting individual persons to make the most of the available area without compromising on functionality or aesthetics. Incorporating dual-purpose elements additionally enhances the adaptability of small deck spaces, offering functional solutions that cater to different needs. These methods jointly contribute to a inclusive strategy that considers both the visual appeal and function of compact decks in highland locations.

    Partaking in talks that dive into detailed design ideas turns into a catalyst for creativity, providing a venue for individual persons to swap groundbreaking concepts and answers tailored to mountainous environments. The dialogue includes creative organizational solutions, addressing the challenge of restricted space with practical and attractive approaches to organization. Personal success stories exchanged within the group turn into valuable narratives, illustrating the viability and capability of optimizing little deck spaces in the unique context of mountainous locations.

    Through this cooperative exchange, community participants gain helpful insights and a abundance of concepts to apply to their own small deck projects, ensuring that each and every inch of space is thoughtfully used in generating functional, aesthetically pleasing, and efficient exterior living areas in mountainous environments.

    [URL=https://fortcollinsdecks.com/about/ – Fort Collins deck customization

    返信

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です