Community discussions

MikroTik App
 
Wraiths
just joined
Topic Author
Posts: 22
Joined: Thu Nov 27, 2008 11:23 pm

Could not change the key - invalid key

Sat Jan 02, 2010 10:31 pm

Hello,

I have a 532A RouterBoard with V4.4 on it. This unit has been working this way for the past couple of months until one day I logged into Winbox and it said that the license would expire in 24 hours. I tried getting a hold of tech support but it was too late before the time ran out. I have been given a new key but when I try and install it, it keeps saying "could not change the key -invalid key". I have tried this in Winbox, the new terminal window, and Hyperterminal. If someone could give me a clue on what I might be doing wrong I would really appreciate it. Is it possible the board is damaged for why it is not taking the key? Thank you in advance.
 
User avatar
DannyZ
Member Candidate
Member Candidate
Posts: 230
Joined: Mon Sep 07, 2009 2:21 pm
Location: Latvia

Re: Could not change the key - invalid key

Sat Jan 02, 2010 11:13 pm

import the attached file with the command '/system license import' (you must upload the licence key to the router's FTP server)
 
Wraiths
just joined
Topic Author
Posts: 22
Joined: Thu Nov 27, 2008 11:23 pm

Re: Could not change the key - invalid key

Sat Jan 02, 2010 11:31 pm

I am reading on how to do that now. I got the key in an email as text. It starts with ---------BEGIN MIKROTIK KEY--- and then there are 2 lines of characters and then the same line to end it. Do I make a *.key file and upload that to the ftp server, or do I cut out the -------BEGIN MIKROTIK KEY----- part.

Thanks again.
 
User avatar
DannyZ
Member Candidate
Member Candidate
Posts: 230
Joined: Mon Sep 07, 2009 2:21 pm
Location: Latvia

Re: Could not change the key - invalid key

Sat Jan 02, 2010 11:40 pm

Open notepad. Copy your licence key from email ect.
-----BEGIN MIKROTIK SOFTWARE KEY------------
lZDo1eSf3egdI/T2hY8fY8OygIZ+UJucjVfOS2+CY+RT
McnWOukAdhiQj5HlNLr7+jUlVoEqlqvgACA5X2qbLD==
-----END MIKROTIK SOFTWARE KEY--------------
and paste it into notpad. Then Sava As ect. NNFT-86N.key
Then take key and upload it to ftp server.
Finaly open new terminal and type in
/system license import
 
Wraiths
just joined
Topic Author
Posts: 22
Joined: Thu Nov 27, 2008 11:23 pm

Re: Could not change the key - invalid key

Sat Jan 02, 2010 11:47 pm

The file is on the ftp server now and below is what I'm getting in the new terminal window. The file contains the key the way you described above.



[admin@CCCS MikroTik] > /system license import file-name=new1.key
failure: invalid key
[admin@CCCS MikroTik] > /system license import file-name=new1.key
failure: invalid key
[admin@CCCS MikroTik] > /system license import file-name=
failure: no new key found
[admin@CCCS MikroTik] > /system license import 1QGK-56XD.key
expected end of command (line 1 column 24)
[admin@CCCS MikroTik] > /system license import file-name=1QGK-56XD.key
failure: invalid key
[admin@CCCS MikroTik] >
 
User avatar
DannyZ
Member Candidate
Member Candidate
Posts: 230
Joined: Mon Sep 07, 2009 2:21 pm
Location: Latvia

Re: Could not change the key - invalid key

Sun Jan 03, 2010 12:01 am

did you try to lose your key?
 /system license> lose-key
Do you really want to lose software key? [y/N]:
 
Wraiths
just joined
Topic Author
Posts: 22
Joined: Thu Nov 27, 2008 11:23 pm

Re: Could not change the key - invalid key

Sun Jan 03, 2010 12:24 am

Okay I tried that and the router rebooted and then it seems it lost all of the configurations. I had to use netinstall to get it back up again and it seems the key was still in there. Maybe I will request a new key. I have a new routerBOARD on the way from a supplier but I was hoping to at least salvage this and not have to redo everything every 24 hours.
 
User avatar
DannyZ
Member Candidate
Member Candidate
Posts: 230
Joined: Mon Sep 07, 2009 2:21 pm
Location: Latvia

Re: Could not change the key - invalid key

Sun Jan 03, 2010 12:27 am

yup.. maybe someone else can help u.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Could not change the key - invalid key

Mon Jan 04, 2010 8:52 am

a this moment, try to install 3.30 that should recognise your old license key, when you do that, create supout.rif file and send it to support@mikrotik.com

when license issue is resolved you will be able to update to 4.4 and use it without problems.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26376
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Could not change the key - invalid key

Mon Jan 04, 2010 9:50 am

It will say "Invalid key" only in one case: Your key was made for a different SoftID than you have in System License now.

You must check why that is.
 
sparki
just joined
Posts: 13
Joined: Fri Apr 01, 2005 3:07 pm

Re: Could not change the key - invalid key

Thu Mar 18, 2010 5:39 am

I have got the same error. This is a stock standard RB411A that I bought 3 months ago.

It was plugged in, upgraded to V4.6 and when I hit "Update License key" I got the result: "Could not change the key - invalid key"

Is there anything I can do to correct this?

Cheers
 
magnavox
Member
Member
Posts: 357
Joined: Thu Jun 14, 2007 1:03 pm

Re: Could not change the key - invalid key

Sat Mar 27, 2010 12:53 pm

Have you solved?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26376
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Could not change the key - invalid key

Mon Mar 29, 2010 8:02 am

read my reply above !
 
magnavox
Member
Member
Posts: 357
Joined: Thu Jun 14, 2007 1:03 pm

Re: Could not change the key - invalid key

Mon Mar 29, 2010 10:40 am

read my reply above !
Hi Normis,
I have similar problem on RB532A and i have opened a ticket to your support.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26376
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Could not change the key - invalid key

Mon Mar 29, 2010 10:41 am

good, then why post here? other users can't make a new key for you.
 
freedarwuin
just joined
Posts: 2
Joined: Fri Feb 24, 2012 5:04 pm

Re: Could not change the key - invalid key

Thu Mar 29, 2012 12:02 am

did you try to lose your key?
 /system license> lose-key
Do you really want to lose software key? [y/N]:

Good afternoon inadvertently put this command / system license> lose-key
Do you really want to lose key software? [y / N]: -

and delete the license to my rb and retrieve it but I have 24-hour license

is again the team I have even a month

how could I get my original license L4

Who is online

Users browsing this forum: carl0s and 14 guests