Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Renew License by Command

Hi all,

Because I configured the box authenticate with AD user and the license is expired, I can't log on to Webadmin to renew license. Please let me know how to renew License ASG 425 by Command.[[[:(]]][[[:(]]][[[:(]]]

Many thanks,
DT


This thread was automatically locked due to age.
Parents
  • Use command line to add user or edit auth?

    Otherwise, the following might work (it might also make things much worse).

    Check license with:
    cc get licensing license


    license_installer.pl

    #!/usr/bin/perl

    #
    #       v. 20150521-poc-1
    #
    #       teched.net
    #

    #
    #
    #       Proof of Concept, not for production use
    #               consequences unknown
    #

    use warnings;
    use strict;

    use Astaro::ConfdPlRPC;

    local $/ = undef;
    my $license = <>;

    my $confd = Astaro::ConfdPlRPC->new or die 'connect failed';

    $confd->set("$license",'licensing','license') or die 'set failed';

    $confd->wait_for_update();

    $confd->disconnect;

    exit 0;


    Usage, where license000000.txt is a license file from MyUTM:

    # cat license000000.txt | perl license_install.pl


    Check license (above) for sucess and confd.log & confd-debug.log for problems.
Reply
  • Use command line to add user or edit auth?

    Otherwise, the following might work (it might also make things much worse).

    Check license with:
    cc get licensing license


    license_installer.pl

    #!/usr/bin/perl

    #
    #       v. 20150521-poc-1
    #
    #       teched.net
    #

    #
    #
    #       Proof of Concept, not for production use
    #               consequences unknown
    #

    use warnings;
    use strict;

    use Astaro::ConfdPlRPC;

    local $/ = undef;
    my $license = <>;

    my $confd = Astaro::ConfdPlRPC->new or die 'connect failed';

    $confd->set("$license",'licensing','license') or die 'set failed';

    $confd->wait_for_update();

    $confd->disconnect;

    exit 0;


    Usage, where license000000.txt is a license file from MyUTM:

    # cat license000000.txt | perl license_install.pl


    Check license (above) for sucess and confd.log & confd-debug.log for problems.
Children
No Data
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?