Azure RedHat vm yum update fails with “SSL peer rejected your certificate as expired.”
I just started a Standard RedHat 7 VM on Azure.
I login and type:
sudo yum update
and get:
Loaded plugins: langpacks, product-id, search-disabled-repos
https://rhui-3.microsoft.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/dotnet/1/debug/repodata/repomd.xml:
[Errno 14] curl#58 - "SSL peer rejected your certificate as expired."
Trying other mirror.
https://rhui-1.microsoft.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/dotnet/1/debug/repodata/repomd.xml:
[Errno 14] curl#58 - "SSL peer rejected your certificate as expired."
Trying other mirror.
...
I thought that the PAYG license include updates? Or is the current image broken?
Tried the 7.4 image too?
azure redhat yum
add a comment |
I just started a Standard RedHat 7 VM on Azure.
I login and type:
sudo yum update
and get:
Loaded plugins: langpacks, product-id, search-disabled-repos
https://rhui-3.microsoft.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/dotnet/1/debug/repodata/repomd.xml:
[Errno 14] curl#58 - "SSL peer rejected your certificate as expired."
Trying other mirror.
https://rhui-1.microsoft.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/dotnet/1/debug/repodata/repomd.xml:
[Errno 14] curl#58 - "SSL peer rejected your certificate as expired."
Trying other mirror.
...
I thought that the PAYG license include updates? Or is the current image broken?
Tried the 7.4 image too?
azure redhat yum
Take a look this. Maybe it's helpful.
– Charles Xu
Nov 23 at 1:54
Also, you could run the command with root.
– Charles Xu
Nov 23 at 2:11
This is also affecting me, Azure RHEL VM and it's only started happening in the past few days. I'm going to lodge a support ticket with Microsoft.
– pickles
Nov 23 at 8:02
add a comment |
I just started a Standard RedHat 7 VM on Azure.
I login and type:
sudo yum update
and get:
Loaded plugins: langpacks, product-id, search-disabled-repos
https://rhui-3.microsoft.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/dotnet/1/debug/repodata/repomd.xml:
[Errno 14] curl#58 - "SSL peer rejected your certificate as expired."
Trying other mirror.
https://rhui-1.microsoft.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/dotnet/1/debug/repodata/repomd.xml:
[Errno 14] curl#58 - "SSL peer rejected your certificate as expired."
Trying other mirror.
...
I thought that the PAYG license include updates? Or is the current image broken?
Tried the 7.4 image too?
azure redhat yum
I just started a Standard RedHat 7 VM on Azure.
I login and type:
sudo yum update
and get:
Loaded plugins: langpacks, product-id, search-disabled-repos
https://rhui-3.microsoft.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/dotnet/1/debug/repodata/repomd.xml:
[Errno 14] curl#58 - "SSL peer rejected your certificate as expired."
Trying other mirror.
https://rhui-1.microsoft.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/dotnet/1/debug/repodata/repomd.xml:
[Errno 14] curl#58 - "SSL peer rejected your certificate as expired."
Trying other mirror.
...
I thought that the PAYG license include updates? Or is the current image broken?
Tried the 7.4 image too?
azure redhat yum
azure redhat yum
asked Nov 22 at 18:25
Robin Owens
212
212
Take a look this. Maybe it's helpful.
– Charles Xu
Nov 23 at 1:54
Also, you could run the command with root.
– Charles Xu
Nov 23 at 2:11
This is also affecting me, Azure RHEL VM and it's only started happening in the past few days. I'm going to lodge a support ticket with Microsoft.
– pickles
Nov 23 at 8:02
add a comment |
Take a look this. Maybe it's helpful.
– Charles Xu
Nov 23 at 1:54
Also, you could run the command with root.
– Charles Xu
Nov 23 at 2:11
This is also affecting me, Azure RHEL VM and it's only started happening in the past few days. I'm going to lodge a support ticket with Microsoft.
– pickles
Nov 23 at 8:02
Take a look this. Maybe it's helpful.
– Charles Xu
Nov 23 at 1:54
Take a look this. Maybe it's helpful.
– Charles Xu
Nov 23 at 1:54
Also, you could run the command with root.
– Charles Xu
Nov 23 at 2:11
Also, you could run the command with root.
– Charles Xu
Nov 23 at 2:11
This is also affecting me, Azure RHEL VM and it's only started happening in the past few days. I'm going to lodge a support ticket with Microsoft.
– pickles
Nov 23 at 8:02
This is also affecting me, Azure RHEL VM and it's only started happening in the past few days. I'm going to lodge a support ticket with Microsoft.
– pickles
Nov 23 at 8:02
add a comment |
3 Answers
3
active
oldest
votes
I also faced same issue yesterday. I referred to following links on Redhat Support Portal.
https://access.redhat.com/articles/3189332 (for instructions to link Azure account with RH Portal and register for portal,- (registration must) https://access.redhat.com/solutions/3167021
Though my problem didn't got resolved from the above post after following instructions as it is, after taking cue from the problem description, following worked for me. In my case, older version of "rhui-azure-rhel7" RPM was installed on VM I had setup few weeks back where I was facing same issue as yours.
curl -o azureclient.rpm https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
rpm -U azureclient.rpm
Hope this helps.
This is the correct answer. RHEL machines use client certificates to authenticate to to the Red Hat Update Infrastructure. That cert has expired and needs a manual update via the package rhui-azure-rhel7, and the exact version number gets updated over time.
– Dave Mulford
Nov 26 at 16:40
Thanks! A more direct form worked for me too:rpm -Uvh https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
– kim0
Nov 28 at 22:38
add a comment |
Try run sudo yum upgrade
and then you should be able to have this working
add a comment |
I also encounter this issue from a few days.
I found this thread:
https://access.redhat.com/solutions/3167021
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53436443%2fazure-redhat-vm-yum-update-fails-with-ssl-peer-rejected-your-certificate-as-exp%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I also faced same issue yesterday. I referred to following links on Redhat Support Portal.
https://access.redhat.com/articles/3189332 (for instructions to link Azure account with RH Portal and register for portal,- (registration must) https://access.redhat.com/solutions/3167021
Though my problem didn't got resolved from the above post after following instructions as it is, after taking cue from the problem description, following worked for me. In my case, older version of "rhui-azure-rhel7" RPM was installed on VM I had setup few weeks back where I was facing same issue as yours.
curl -o azureclient.rpm https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
rpm -U azureclient.rpm
Hope this helps.
This is the correct answer. RHEL machines use client certificates to authenticate to to the Red Hat Update Infrastructure. That cert has expired and needs a manual update via the package rhui-azure-rhel7, and the exact version number gets updated over time.
– Dave Mulford
Nov 26 at 16:40
Thanks! A more direct form worked for me too:rpm -Uvh https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
– kim0
Nov 28 at 22:38
add a comment |
I also faced same issue yesterday. I referred to following links on Redhat Support Portal.
https://access.redhat.com/articles/3189332 (for instructions to link Azure account with RH Portal and register for portal,- (registration must) https://access.redhat.com/solutions/3167021
Though my problem didn't got resolved from the above post after following instructions as it is, after taking cue from the problem description, following worked for me. In my case, older version of "rhui-azure-rhel7" RPM was installed on VM I had setup few weeks back where I was facing same issue as yours.
curl -o azureclient.rpm https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
rpm -U azureclient.rpm
Hope this helps.
This is the correct answer. RHEL machines use client certificates to authenticate to to the Red Hat Update Infrastructure. That cert has expired and needs a manual update via the package rhui-azure-rhel7, and the exact version number gets updated over time.
– Dave Mulford
Nov 26 at 16:40
Thanks! A more direct form worked for me too:rpm -Uvh https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
– kim0
Nov 28 at 22:38
add a comment |
I also faced same issue yesterday. I referred to following links on Redhat Support Portal.
https://access.redhat.com/articles/3189332 (for instructions to link Azure account with RH Portal and register for portal,- (registration must) https://access.redhat.com/solutions/3167021
Though my problem didn't got resolved from the above post after following instructions as it is, after taking cue from the problem description, following worked for me. In my case, older version of "rhui-azure-rhel7" RPM was installed on VM I had setup few weeks back where I was facing same issue as yours.
curl -o azureclient.rpm https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
rpm -U azureclient.rpm
Hope this helps.
I also faced same issue yesterday. I referred to following links on Redhat Support Portal.
https://access.redhat.com/articles/3189332 (for instructions to link Azure account with RH Portal and register for portal,- (registration must) https://access.redhat.com/solutions/3167021
Though my problem didn't got resolved from the above post after following instructions as it is, after taking cue from the problem description, following worked for me. In my case, older version of "rhui-azure-rhel7" RPM was installed on VM I had setup few weeks back where I was facing same issue as yours.
curl -o azureclient.rpm https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
rpm -U azureclient.rpm
Hope this helps.
answered Nov 23 at 11:18
Kishan Parekh
963
963
This is the correct answer. RHEL machines use client certificates to authenticate to to the Red Hat Update Infrastructure. That cert has expired and needs a manual update via the package rhui-azure-rhel7, and the exact version number gets updated over time.
– Dave Mulford
Nov 26 at 16:40
Thanks! A more direct form worked for me too:rpm -Uvh https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
– kim0
Nov 28 at 22:38
add a comment |
This is the correct answer. RHEL machines use client certificates to authenticate to to the Red Hat Update Infrastructure. That cert has expired and needs a manual update via the package rhui-azure-rhel7, and the exact version number gets updated over time.
– Dave Mulford
Nov 26 at 16:40
Thanks! A more direct form worked for me too:rpm -Uvh https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
– kim0
Nov 28 at 22:38
This is the correct answer. RHEL machines use client certificates to authenticate to to the Red Hat Update Infrastructure. That cert has expired and needs a manual update via the package rhui-azure-rhel7, and the exact version number gets updated over time.
– Dave Mulford
Nov 26 at 16:40
This is the correct answer. RHEL machines use client certificates to authenticate to to the Red Hat Update Infrastructure. That cert has expired and needs a manual update via the package rhui-azure-rhel7, and the exact version number gets updated over time.
– Dave Mulford
Nov 26 at 16:40
Thanks! A more direct form worked for me too:
rpm -Uvh https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
– kim0
Nov 28 at 22:38
Thanks! A more direct form worked for me too:
rpm -Uvh https://rhui-1.microsoft.com/pulp/repos/microsoft-azure-rhel7/rhui-azure-rhel7-2.2-74.noarch.rpm
– kim0
Nov 28 at 22:38
add a comment |
Try run sudo yum upgrade
and then you should be able to have this working
add a comment |
Try run sudo yum upgrade
and then you should be able to have this working
add a comment |
Try run sudo yum upgrade
and then you should be able to have this working
Try run sudo yum upgrade
and then you should be able to have this working
answered Nov 22 at 23:43
Tim Raynor
3241620
3241620
add a comment |
add a comment |
I also encounter this issue from a few days.
I found this thread:
https://access.redhat.com/solutions/3167021
add a comment |
I also encounter this issue from a few days.
I found this thread:
https://access.redhat.com/solutions/3167021
add a comment |
I also encounter this issue from a few days.
I found this thread:
https://access.redhat.com/solutions/3167021
I also encounter this issue from a few days.
I found this thread:
https://access.redhat.com/solutions/3167021
answered Nov 23 at 9:51
MastroBirraio
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53436443%2fazure-redhat-vm-yum-update-fails-with-ssl-peer-rejected-your-certificate-as-exp%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Take a look this. Maybe it's helpful.
– Charles Xu
Nov 23 at 1:54
Also, you could run the command with root.
– Charles Xu
Nov 23 at 2:11
This is also affecting me, Azure RHEL VM and it's only started happening in the past few days. I'm going to lodge a support ticket with Microsoft.
– pickles
Nov 23 at 8:02