# updates urls

**URL:** <https://forums.suse.com/t/updates-urls/29152>\
**Category:** SLES Updates\
**Created:** [December 21, 2016, 12:48pm UTC](https://forums.suse.com/t/updates-urls/29152 "2016-12-21T12:48:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TrialAccount](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@TrialAccount](https://forums.suse.com/u/TrialAccount)\
**Post date:** [December 21, 2016, 12:48pm UTC](https://forums.suse.com/t/updates-urls/29152/1 "2016-12-21T12:48:02Z")

</div>

Hi

im using scc to obtain update urls for my sles instance

im trying to get’em like this  
curl -H “Authorization: Token token=reg\_code\_here” [https://scc.suse.com/connect/subscriptions/products](https://scc.suse.com/connect/subscriptions/products) | tr “,” "  
" | grep -i “url” | grep -i “SLE-SERVER”

result is like :

“url”:“[https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86\_64/update/?[cut](https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86_64/update/?%5Bcut)]Brf03-l8lgVSRAsdQV1YJTvQ4pp70tvwyBKJLY\_i0gv-TmH-EXThd-tk8\_Em2”  
“url”:“[https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86\_64/update\_debug/?[cut](https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86_64/update_debug/?%5Bcut)]OqqfL8Pmr2QZPLIEvjLZfBRDFn\_Bow3qwmTWxCc”  
“url”:“[https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86\_64/product/?[cut](https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product/?%5Bcut)]B2jBvZnaTM0OiOsXVQ7cpX\_LZshfQbRzr15GgXYas0GBcaQN8ST\_9WzLzq9IpOW53KlPy-Iw”  
“url”:“[https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86\_64/product\_debug/?[cut](https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product_debug/?%5Bcut)]57ZvRTzG4HasZ6jbpZsXXG1A1wTZuTghdUcpgICCrrqiQ5HKMZMtglg4dSsKJEaiwpNPenhJpeTpNzNbi2PWedXmJPaQ”  
“url”:“[https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86\_64/product\_source/?[cut](https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product_source/?%5Bcut)]O3UFnEtEmd2A8AQKLQz3Iq8Qo\_UMZNQ5MRzEvtodDKj\_iBS224W3efnKm4\_qzoixmL\_Xixkd078POM”

how long do those urls live ?  
ive got both trial and payed subscription.

For me it seems like thos url are working for ~24hr. Is there any way to get them with longer ttl, or any way to create local repo with updates for my farm which has no acces to internet ?

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [December 21, 2016, 3:48pm UTC](https://forums.suse.com/t/updates-urls/29152/2 "2016-12-21T15:48:01Z")

</div>

> [@](#):
>
> On Wed 21 Dec 2016 10:54:01 AM CST, TrialAccount wrote:
> 
> Hi
> 
> im using scc to obtain update urls for my sles instance
> 
> im trying to get’em like this  
> curl -H “Authorization: Token token=reg\_code\_here”  
> [https://scc.suse.com/connect/subscriptions/products](https://scc.suse.com/connect/subscriptions/products) | tr “,” "  
> " | grep  
> -i “url” | grep -i “SLE-SERVER”
> 
> result is like :
> 
> “url”:“[https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86\_64/update/?[cut]Brf03-l8lgVSRAsdQV1YJTvQ4pp70tvwyBKJLY\_i0gv-TmH-EXThd-tk8\_Em2](https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86_64/update/?%5Bcut%5DBrf03-l8lgVSRAsdQV1YJTvQ4pp70tvwyBKJLY_i0gv-TmH-EXThd-tk8_Em2)”  
> “url”:“[https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86\_64/update\_debug/?[cut]OqqfL8Pmr2QZPLIEvjLZfBRDFn\_Bow3qwmTWxCc](https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86_64/update_debug/?%5Bcut%5DOqqfL8Pmr2QZPLIEvjLZfBRDFn_Bow3qwmTWxCc)”  
> “url”:“[https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86\_64/product/?[cut]B2jBvZnaTM0OiOsXVQ7cpX\_LZshfQbRzr15GgXYas0GBcaQN8ST\_9WzLzq9IpOW53KlPy-Iw](https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product/?%5Bcut%5DB2jBvZnaTM0OiOsXVQ7cpX_LZshfQbRzr15GgXYas0GBcaQN8ST_9WzLzq9IpOW53KlPy-Iw)”  
> “url”:“[https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86\_64/product\_debug/?[cut]57ZvRTzG4HasZ6jbpZsXXG1A1wTZuTghdUcpgICCrrqiQ5HKMZMtglg4dSsKJEaiwpNPenhJpeTpNzNbi2PWedXmJPaQ](https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product_debug/?%5Bcut%5D57ZvRTzG4HasZ6jbpZsXXG1A1wTZuTghdUcpgICCrrqiQ5HKMZMtglg4dSsKJEaiwpNPenhJpeTpNzNbi2PWedXmJPaQ)”  
> “url”:“[https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86\_64/product\_source/?[cut]O3UFnEtEmd2A8AQKLQz3Iq8Qo\_UMZNQ5MRzEvtodDKj\_iBS224W3efnKm4\_qzoixmL\_Xixkd078POM](https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product_source/?%5Bcut%5DO3UFnEtEmd2A8AQKLQz3Iq8Qo_UMZNQ5MRzEvtodDKj_iBS224W3efnKm4_qzoixmL_Xixkd078POM)”
> 
> how long do those urls live ?  
> ive got both trial and payed subscription.
> 
> For me it seems like thos url are working for ~24hr. Is there any way to  
> get them with longer ttl, or any way to create local repo with updates  
> for my farm which has no acces to internet ?

Hi  
The easiest way would be to use a system with SMT (Subscription  
Management Toll) that has internet access for updates and bring them  
down this way. Then you can set you internal systems to access this (vi  
a proxy?) with SUSEConnect --url (See man 8 SUSEConnect)

Else use YaST add on creator from the internet facing system to create  
an update iso image, this iso could then be added as a local repo  
available to the internal systems via a http server.

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE Leap 42.1|GNOME 3.16.2|4.1.36-41-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!
